Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectTemplates ¶
func Plugin ¶
func Plugin(controller HttpController) http.HandlerFunc
Types ¶
type HttpController ¶
type HttpController func(model *viewmodels.WebModel, req *http.Request) (interface{}, *weberrors.WebError)
when return string will render template when return obj will convert to json
func LoggingManager ¶
func LoggingManager(model *viewmodels.WebModel, w http.ResponseWriter, req *http.Request, wrapperedController HttpController) HttpController
func SessisonManager ¶
func SessisonManager(model *viewmodels.WebModel, w http.ResponseWriter, req *http.Request, wrapperedController HttpController) HttpController
type HttpMiddleWare ¶
type HttpMiddleWare func(model *viewmodels.WebModel, w http.ResponseWriter, req *http.Request) HttpController
Click to show internal directories.
Click to hide internal directories.