client

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockUntilServerReady

func BlockUntilServerReady(ctx context.Context, addr string, opts ...OpOption) error

func CheckHealthz

func CheckHealthz(ctx context.Context, addr string, opts ...OpOption) error

Types

type Op

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

type OpOption

type OpOption func(*Op)

func WithCheckInterval

func WithCheckInterval(interval time.Duration) OpOption

func WithHTTPClient

func WithHTTPClient(cli *http.Client) OpOption

Jump to

Keyboard shortcuts

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