apiserver

package
v0.0.0-...-a5f9e11 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	URLPrefix = "/api/v1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewAPIServer

func NewAPIServer(config *config.Config) (*Server, error)

func (*Server) Close

func (s *Server) Close(ctx context.Context) error

Shutdown gracefully

func (*Server) Run

func (s *Server) Run(errorCh chan<- error)

@license.name Apache 2.0 @license.url http://www.apache.org/licenses/LICENSE-2.0.html

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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