Documentation ¶ Index ¶ type Action func NewAction(verb, path string, params []*restful.Parameter, handler gin.HandlerFunc) *Action Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Action ¶ type Action struct { 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 gin.HandlerFunc } Action restful action struct func NewAction ¶ func NewAction(verb, path string, params []*restful.Parameter, handler gin.HandlerFunc) *Action Source Files ¶ View all Source files actions.go Click to show internal directories. Click to hide internal directories.