Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerRegister ¶
type HandlerRegister struct {
// contains filtered or unexported fields
}
func CreateHandlerRegister ¶
func CreateHandlerRegister() (error, *HandlerRegister)
func (*HandlerRegister) Add ¶
func (hr *HandlerRegister) Add(key string, h Handler, t time.Duration)
func (*HandlerRegister) Get ¶
func (hr *HandlerRegister) Get(key string) (error, *HandlerWrapper)
type HandlerWrapper ¶
type HandlerWrapper struct {
// contains filtered or unexported fields
}
func (HandlerWrapper) Run ¶
func (h HandlerWrapper) Run(c interface{}, msg interface{})
Click to show internal directories.
Click to hide internal directories.