Back to godoc.org

Package webserver

v0.0.0-...-afdeb59
Latest Go to latest

The latest major version is .

Published: Jul 3, 2020 | License: Apache-2.0 | Module: github.com/odahu/odahu-flow/packages/operator

Index

Constants

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

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

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