api

package
v1.0.0-alpha.2....-e8d0cd8 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func New

func New(reloadSig chan<- struct{}, conf *config.Config) *API

func (*API) RegisterRoutes

func (a *API) RegisterRoutes()

func (*API) Reload

func (a *API) Reload(w http.ResponseWriter, r *http.Request)

func (*API) Router

func (a *API) Router() *mux.Router

func (*API) UpdateConf

func (a *API) UpdateConf(conf *config.Config)

Jump to

Keyboard shortcuts

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