Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kernel ¶
type Kernel struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...KernelOption) *Kernel
type KernelOption ¶
func Bootstrap ¶
func Bootstrap(bootstrap ...func() error) KernelOption
func InitRoutes ¶
func InitRoutes(cb func(r *router.Router)) KernelOption
func Middleware ¶
func Middleware(middleware ...router.MiddlewareFunc) KernelOption
func Port ¶
func Port(port int) KernelOption
func RootHandler ¶
func RootHandler(rootHandler http.Handler) KernelOption
Click to show internal directories.
Click to hide internal directories.