api

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api added in v0.5.0

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

Api ...

func NewApi added in v0.5.0

func NewApi(controllers *controllers.Controllers,
	filter *rbac.AccessFilter,
	cfg Config) (api *Api)

NewApi ...

func (*Api) CustomMatcher added in v0.5.0

func (a *Api) CustomMatcher(key string) (string, bool)

CustomMatcher ...

func (*Api) Shutdown added in v0.7.1

func (a *Api) Shutdown(ctx context.Context) (err error)

Shutdown ...

func (*Api) Start added in v0.5.0

func (a *Api) Start() (err error)

Start ...

type Config added in v0.5.0

type Config struct {
	GrpcHostPort string
	HttpHostPort string
	PromHostPort string
	WsHostPort   string
	Swagger      bool
}

Config ...

Directories

Path Synopsis
stub
api
Package api is a reverse proxy.
Package api is a reverse proxy.

Jump to

Keyboard shortcuts

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