endpoint

package
v0.0.0-...-d691e2b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiInstaller

type ApiInstaller struct {
	// contains filtered or unexported fields
}

func NewApiInstaller

func NewApiInstaller(v []ApiVersion) *ApiInstaller

func (*ApiInstaller) Install

func (installer *ApiInstaller) Install(container *restful.Container)

type ApiSingle

type ApiSingle struct {
	Verb    string
	Path    string
	Handler restful.RouteFunction
	Filters []restful.FilterFunction
}

type ApiVersion

type ApiVersion struct {
	Prefix string
	Group  []ApiSingle
}

func (ApiVersion) InstallREST

func (v ApiVersion) InstallREST(container *restful.Container)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL