Back to

Package webserver

Latest Go to latest

The latest major version is .

Published: Jul 3, 2020 | License: Apache-2.0 | Module:



const (
	URLPrefix = "/api/v1"

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() error Apache 2.0 @license.url

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