Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RouteGen ¶ added in v1.5.9
type RouteGen interface {
GetRouteInfos() []RouteInfos
}
type RouteGroup ¶ added in v1.5.9
type RouteGroup struct {
GroupName string `json:"name"`
}
type RouteInfos ¶ added in v1.5.9
type RouteInfos struct { Method string `json:"method"` // method Path string `json:"path"` // path BasePath string `json:"base_path"` // BasePath HandlerFun string `json:"handler_fun"` // handlerFun Summary string `json:"summary"` // Summary Public bool `json:"public"` // is public router RouteGroup }
Click to show internal directories.
Click to hide internal directories.