Documentation
¶
Index ¶
- func CreatorHttp(cfg interface{}) (interface{}, error)
- func CreatorRpc(cfg interface{}) (interface{}, error)
- func InitHttp(controller interface{})
- func InitRpc(controllers interface{})
- func NewHttpRouter(cfg *RouterHttpCfg)
- func NewRpcRouter(cfg *RouterRpcCfg)
- type ControllerMapsType
- type RouterHttpCfg
- type RouterRpcCfg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatorHttp ¶
func CreatorHttp(cfg interface{}) (interface{}, error)
func CreatorRpc ¶
func CreatorRpc(cfg interface{}) (interface{}, error)
func NewHttpRouter ¶
func NewHttpRouter(cfg *RouterHttpCfg)
func NewRpcRouter ¶
func NewRpcRouter(cfg *RouterRpcCfg)
Types ¶
type ControllerMapsType ¶
type RouterHttpCfg ¶
type RouterRpcCfg ¶
type RouterRpcCfg struct {
Path string
}
Click to show internal directories.
Click to hide internal directories.