client

package
v0.0.0-...-db4bbf2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Headers() Headers
	Invoke(ctx context.Context, fqrn string, req, resp interface{}) error
}

func NewClient

func NewClient(cfg *ClientCfg) (cli Client, err error)

func NewClientOnce

func NewClientOnce(cfg *ClientCfg) (cli Client, err error)

type ClientCfg

type ClientCfg struct {
	Addr          string
	ServerName    string
	UseReflection bool
	WithTLS       bool
	Certs         certs.Certs
}

type Headers

type Headers map[string][]string

Jump to

Keyboard shortcuts

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