Documentation
¶
Index ¶
- type Ettp
- func (s *Ettp) Close()
- func (s *Ettp) HandleFunc(pattern string, handlerFn http.HandlerFunc)
- func (s *Ettp) Mount(pattern string, handler http.Handler)
- func (s *Ettp) NotFound(handlerFn http.HandlerFunc)
- func (s *Ettp) OnClose(onClose func())
- func (s *Ettp) OnStart(onStart func())
- func (s *Ettp) Start()
- func (s *Ettp) Use(middlewares ...func(http.Handler) http.Handler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ettp ¶
func (*Ettp) HandleFunc ¶ added in v1.0.12
func (s *Ettp) HandleFunc(pattern string, handlerFn http.HandlerFunc)
* * HandleFunc * @param pattern string, handlerFn http.HandlerFunc *
func (*Ettp) NotFound ¶ added in v1.0.12
func (s *Ettp) NotFound(handlerFn http.HandlerFunc)
* * NotFound * @param handlerFn http.HandlerFunc *
Click to show internal directories.
Click to hide internal directories.