webserver

package
v16.0.0-...-c66924d Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	AdmAddr      string
	AppAddr      string
	OtlpEndpoint string
	Logger       logr.Logger
	Handler      http.Handler
}

func NewOptions

func NewOptions(fs *flag.FlagSet) *Options

func (*Options) InitFlags

func (o *Options) InitFlags(fs *flag.FlagSet)

type Server

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

func New

func New(ctx context.Context, o *Options) *Server

func (*Server) Run

func (s *Server) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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