server

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBearerTokenClient

func NewBearerTokenClient(base *http.Client, token string) *http.Client

func NewDebugClient

func NewDebugClient(base *http.Client, log zerolog.Logger) *http.Client

NewDebugClient creates a round tripper that

func RunHTTPServer

func RunHTTPServer(ctx context.Context, addr string, handler http.Handler) error

RunHTTPServer runs standard HTTP server at given address, with graceful shutdown when context is cancelled

Types

This section is empty.

Jump to

Keyboard shortcuts

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