webserver

package
v15.1.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: MIT Imports: 25 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 (*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