lot of new functionalities
This commit is contained in:
10
servers/web/app_wallets_routes.go
Normal file
10
servers/web/app_wallets_routes.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package web
|
||||
|
||||
import (
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
func (ws *WebServer) setupWalletsRoutes(appRouter *mux.Router) {
|
||||
wallets := appRouter.PathPrefix("/wallets").Subrouter()
|
||||
wallets.HandleFunc("/{userid}/credit", ws.appHandler.CreditWalletHTTPHandler())
|
||||
}
|
||||
Reference in New Issue
Block a user