Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIRequest ¶
type APIRequest struct { Group string Name string Comment string Route string Method string Auth bool }
APIRequest api request
type App ¶
type App struct { Project string //工程名称 Name string //app名 Service string //服务名(首字母大写) RootDir string //项目根目录 APIDir string //api目录 }
App ...
type RenderValue ¶
type RenderValue struct { App App Requests []APIRequest }
RenderValue render data
type RequestMap ¶
type RequestMap map[string][]APIRequest
RequestMap define RequestMap
func (RequestMap) Requests ¶
func (m RequestMap) Requests() (list []APIRequest)
Requests request list
Click to show internal directories.
Click to hide internal directories.