Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerGraphSet = wire.NewSet( NewWalletCtlHandler, )
Functions ¶
func JSONError ¶
func JSONError(w http.ResponseWriter, err interface{}, code int)
Types ¶
type WalletCtlHandler ¶
type WalletCtlHandler struct {
// contains filtered or unexported fields
}
func NewWalletCtlHandler ¶
func NewWalletCtlHandler( walletService *services.WalletService, ) *WalletCtlHandler
func (*WalletCtlHandler) AddWallet ¶
func (w *WalletCtlHandler) AddWallet(req *http.Request) (interface{}, error)
func (*WalletCtlHandler) UpdateWalletBalance ¶
func (w *WalletCtlHandler) UpdateWalletBalance(req *http.Request) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.