api

package
v0.0.4-beta.4 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(ctx context.Context, opts ServerOptions, healthcore *health.Core) error

func NewHandler

func NewHandler(serverCtx context.Context, apiRoot string, healthcore *health.Core) http.Handler

Types

type ServerOptions added in v0.1.0

type ServerOptions struct {
	Host                string
	Port                uint
	APIRoot             string
	ShutdownGracePeriod time.Duration
}

Jump to

Keyboard shortcuts

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