Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterNewAction ¶
func RegisterNewAction(action Action)
RegisterNewAction registe action to actions
func RegisterNewAutoAction ¶
func RegisterNewAutoAction(a AutoAction)
RegisterNewAutoAction registe action to actions
Types ¶
type Action ¶
type Action struct { //httpserver.Action Verb string // Verb identifying the action ("GET", "POST", "WATCH", PROXY", etc). Path string // The path of the action Params []*restful.Parameter // List of parameters associated with the action. Handler restful.RouteFunction FilterHandler []restful.FilterFunction Version string //api 版本号,为空表示没有版本 }
Action restful action struct
type AutoAction ¶
AutoAction execution Action of start process, action struct
Click to show internal directories.
Click to hide internal directories.