Documentation ¶
Index ¶
- func Dashboard(w http.ResponseWriter, r *http.Request)
- func MyNotFound(w http.ResponseWriter, r *http.Request)
- func TodoCreate(w http.ResponseWriter, r *http.Request)
- func UserCreate(w http.ResponseWriter, r *http.Request)
- type AppContext
- func (c *AppContext) AdminHandler(w http.ResponseWriter, r *http.Request)
- func (c *AppContext) AuthHandler(next http.Handler) http.Handler
- func (c *AppContext) IndexHandler(w http.ResponseWriter, r *http.Request)
- func (c *AppContext) TeaHandler(w http.ResponseWriter, r *http.Request)
- func (c *AppContext) TodoEdit(w http.ResponseWriter, r *http.Request)
- func (c *AppContext) TodoIndex(w http.ResponseWriter, r *http.Request)
- func (c *AppContext) TodoStore(w http.ResponseWriter, r *http.Request, p httprouter.Params)
- func (c *AppContext) TodoUpdate(w http.ResponseWriter, r *http.Request, p httprouter.Params)
- func (c *AppContext) UserEdit(w http.ResponseWriter, r *http.Request)
- func (c *AppContext) UserIndex(w http.ResponseWriter, r *http.Request)
- func (c *AppContext) UserStore(w http.ResponseWriter, r *http.Request, p httprouter.Params)
- func (c *AppContext) UserUpdate(w http.ResponseWriter, r *http.Request, p httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MyNotFound ¶
func MyNotFound(w http.ResponseWriter, r *http.Request)
func TodoCreate ¶
func TodoCreate(w http.ResponseWriter, r *http.Request)
func UserCreate ¶
func UserCreate(w http.ResponseWriter, r *http.Request)
Types ¶
type AppContext ¶
func (*AppContext) AdminHandler ¶
func (c *AppContext) AdminHandler(w http.ResponseWriter, r *http.Request)
func (*AppContext) AuthHandler ¶
func (c *AppContext) AuthHandler(next http.Handler) http.Handler
func (*AppContext) IndexHandler ¶
func (c *AppContext) IndexHandler(w http.ResponseWriter, r *http.Request)
func (*AppContext) TeaHandler ¶
func (c *AppContext) TeaHandler(w http.ResponseWriter, r *http.Request)
func (*AppContext) TodoEdit ¶
func (c *AppContext) TodoEdit(w http.ResponseWriter, r *http.Request)
func (*AppContext) TodoIndex ¶
func (c *AppContext) TodoIndex(w http.ResponseWriter, r *http.Request)
func (*AppContext) TodoStore ¶
func (c *AppContext) TodoStore(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (*AppContext) TodoUpdate ¶
func (c *AppContext) TodoUpdate(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (*AppContext) UserEdit ¶
func (c *AppContext) UserEdit(w http.ResponseWriter, r *http.Request)
func (*AppContext) UserIndex ¶
func (c *AppContext) UserIndex(w http.ResponseWriter, r *http.Request)
func (*AppContext) UserStore ¶
func (c *AppContext) UserStore(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (*AppContext) UserUpdate ¶
func (c *AppContext) UserUpdate(w http.ResponseWriter, r *http.Request, p httprouter.Params)
Click to show internal directories.
Click to hide internal directories.