Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterHandler ¶
func RegisterHandler(seq int, name string, handler HandlerFunc)
Types ¶
type DestroyUnit ¶
type HandlerFunc ¶ added in v1.2.0
type Root ¶ added in v1.1.0
type Root struct {
Context context.Context
CancelFunc context.CancelFunc
// contains filtered or unexported fields
}
func (*Root) ListenAndDestroy ¶ added in v1.1.0
type Unit ¶
type Unit struct {
Seq int
Name string
Handle HandlerFunc
}
Click to show internal directories.
Click to hide internal directories.