Back to

Package webserver

Latest Go to latest

The highest tagged major version is .

Published: Sep 18, 2018 | Licenses: Apache-2.0 , BSD-2-Clause , BSD-3-Clause , MIT , MPL-2.0 | Module:


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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier