Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Module ¶
type Module interface { // Name of module Name() string // Path returns the root path of module Path() string // Init initialize the module Init(*cli.Context) error // Handlers returns http handler of this module Handlers() map[string]*Handler // Global Flags Flags() []cli.Flag // Commands are the Sub-commands Commands(...Option) []cli.Command }
Module is the biggest unit of web component. a component is a webapp which will be registered on root path by Name function
Click to show internal directories.
Click to hide internal directories.