Documentation
¶
Index ¶
- func Hook(funcs []string)
- func HookAll(h ...model.HookStruct)
- func HookFunc(s string)
- func RunAllHook()
- func StopAllHook()
- func UnHook(funcs []string)
- func UnHookAll(h ...model.HookStruct)
- func UnHookFunc(s string)
- type Base
- type ChiRouter
- type Gin
- type Gorilla
- type Gorm
- type Grpc
- type Http
- type HttpRouter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HookAll ¶ added in v0.3.0
func HookAll(h ...model.HookStruct)
func RunAllHook ¶ added in v0.3.0
func RunAllHook()
func StopAllHook ¶ added in v0.3.0
func StopAllHook()
func UnHookAll ¶ added in v0.3.0
func UnHookAll(h ...model.HookStruct)
func UnHookFunc ¶
func UnHookFunc(s string)
Types ¶
type HttpRouter ¶ added in v0.3.0
type HttpRouter struct {
}
func (*HttpRouter) GetHook ¶ added in v0.3.0
func (h *HttpRouter) GetHook() []string
func (*HttpRouter) HookAll ¶ added in v0.3.0
func (h *HttpRouter) HookAll()
func (*HttpRouter) UnHookAll ¶ added in v0.3.0
func (h *HttpRouter) UnHookAll()
Click to show internal directories.
Click to hide internal directories.