Documentation ¶
Index ¶
- type Context
- func (c *Context) CreateConfig(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) CreateKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) CreateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) CreateWallet(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) DeleteKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) DeleteUserByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) DeleteWalletByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) GetConfig(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) GetKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) GetUserByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) GetUsers(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) GetWalletByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) GetWallets(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) PingStore(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) UpdateConfig(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) UpdateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) UpdateWallet(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewAPIContext ¶
func NewAPIContext(ds *service.DatabaseService, rs *service.RedisService, logger *logrus.Logger) *Context
func (*Context) CreateConfig ¶
func (c *Context) CreateConfig(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) CreateKey ¶
func (c *Context) CreateKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) CreateUser ¶
func (c *Context) CreateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) CreateWallet ¶
func (c *Context) CreateWallet(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) DeleteKey ¶
func (c *Context) DeleteKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) DeleteUserByID ¶
func (c *Context) DeleteUserByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) DeleteWalletByID ¶
func (c *Context) DeleteWalletByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) GetConfig ¶
func (c *Context) GetConfig(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) GetKey ¶
func (c *Context) GetKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) GetUserByID ¶
func (c *Context) GetUserByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) GetUsers ¶
func (c *Context) GetUsers(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) GetWalletByID ¶
func (c *Context) GetWalletByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) GetWallets ¶
func (c *Context) GetWallets(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) PingStore ¶
func (c *Context) PingStore(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) UpdateConfig ¶
func (c *Context) UpdateConfig(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) UpdateUser ¶
func (c *Context) UpdateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) UpdateWallet ¶
func (c *Context) UpdateWallet(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.