Documentation ¶
Index ¶
- type ControllerGroup
- func (cg *ControllerGroup) Buy(c web.C, w http.ResponseWriter, r *http.Request)
- func (cg *ControllerGroup) Check(c web.C, w http.ResponseWriter, r *http.Request)
- func (cg *ControllerGroup) Health(c web.C, w http.ResponseWriter, r *http.Request)
- func (cg *ControllerGroup) Portfolio(c web.C, w http.ResponseWriter, r *http.Request)
- func (cg *ControllerGroup) ReportLeaders(c web.C, w http.ResponseWriter, r *http.Request)
- func (cg *ControllerGroup) Sell(c web.C, w http.ResponseWriter, r *http.Request)
- func (cg *ControllerGroup) Slack(c web.C, w http.ResponseWriter, r *http.Request)
- func (cg *ControllerGroup) User(c web.C, w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerGroup ¶
type ControllerGroup struct {
Accessors *accessors.AccessorGroup
}
ControllerGroup holds all config information for the controllers
func (*ControllerGroup) Buy ¶
func (cg *ControllerGroup) Buy(c web.C, w http.ResponseWriter, r *http.Request)
Buy handles http requests to purchace a given stock
func (*ControllerGroup) Check ¶
func (cg *ControllerGroup) Check(c web.C, w http.ResponseWriter, r *http.Request)
Check handles requests to the check endpoint
func (*ControllerGroup) Health ¶
func (cg *ControllerGroup) Health(c web.C, w http.ResponseWriter, r *http.Request)
func (*ControllerGroup) Portfolio ¶
func (cg *ControllerGroup) Portfolio(c web.C, w http.ResponseWriter, r *http.Request)
Portfolio handles requests for a given user's portfolio
func (*ControllerGroup) ReportLeaders ¶
func (cg *ControllerGroup) ReportLeaders(c web.C, w http.ResponseWriter, r *http.Request)
func (*ControllerGroup) Sell ¶
func (cg *ControllerGroup) Sell(c web.C, w http.ResponseWriter, r *http.Request)
Sell handles http requests to sell a user's holdings
func (*ControllerGroup) Slack ¶
func (cg *ControllerGroup) Slack(c web.C, w http.ResponseWriter, r *http.Request)
Slack is a special kind of handler, it handles all requests from slack and routes them accordingly
func (*ControllerGroup) User ¶
func (cg *ControllerGroup) User(c web.C, w http.ResponseWriter, r *http.Request)
User creates a given user account
Click to show internal directories.
Click to hide internal directories.