Documentation ¶
Index ¶
- type Context
- func (c *Context) CreateBetHistory(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- 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) CreateRoundInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) CreateTransaction(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) GetBetHistory(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) GetRoundInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) GetTransaction(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) UpdateBetHistory(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) UpdateRoundInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (c *Context) UpdateTransaction(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) CreateBetHistory ¶
func (c *Context) CreateBetHistory(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
created by tadashi
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) CreateRoundInfo ¶
func (c *Context) CreateRoundInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
created by tadashi
func (*Context) CreateTransaction ¶
func (c *Context) CreateTransaction(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
created by tadashi
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) GetBetHistory ¶
func (c *Context) GetBetHistory(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
created by tadashi
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) GetRoundInfo ¶
func (c *Context) GetRoundInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
created by tadashi
func (*Context) GetTransaction ¶
func (c *Context) GetTransaction(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
created by tadashi
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) UpdateBetHistory ¶
func (c *Context) UpdateBetHistory(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) UpdateRoundInfo ¶
func (c *Context) UpdateRoundInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Context) UpdateTransaction ¶
func (c *Context) UpdateTransaction(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)
Click to show internal directories.
Click to hide internal directories.