client

package
v0.3.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ConnectionFailedErr = "Connection failed"
	NotFoundErr         = "Not found"
	UnknownErr          = "Unknown error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// contains filtered or unexported methods
}

func NewClient

func NewClient(opts ...Opt) Client

type Opt

type Opt func(*client) error

func WithHost

func WithHost(host string) Opt

func WithPort

func WithPort(port int) Opt

Jump to

Keyboard shortcuts

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