Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Router *httprouter.Router
Functions ¶
func SetupRouter ¶
func SetupRouter()
Types ¶
type TimeController ¶
type TimeController struct{}
func (TimeController) StartTimer ¶
func (c TimeController) StartTimer(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (TimeController) StopTimer ¶
func (c TimeController) StopTimer(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (TimeController) Times ¶
func (c TimeController) Times(w http.ResponseWriter, r *http.Request, p httprouter.Params)
type UserControllerV1 ¶
type UserControllerV1 struct{}
func (UserControllerV1) Login ¶
func (c UserControllerV1) Login(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (UserControllerV1) Profile ¶
func (c UserControllerV1) Profile(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (UserControllerV1) Register ¶
func (c UserControllerV1) Register(w http.ResponseWriter, r *http.Request, p httprouter.Params)
Click to show internal directories.
Click to hide internal directories.