client

package
v0.0.0-...-4d05b4e Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultQueryOptions = api.QueryOptions{
	Namespace:         "",
	Datacenter:        "",
	AllowStale:        false,
	RequireConsistent: false,
	UseCache:          false,
	MaxAge:            0,
	StaleIfError:      0,
	WaitIndex:         0,
	WaitHash:          "",
	WaitTime:          0,
	Token:             "",
	Near:              "",
	NodeMeta:          nil,
	RelayFactor:       0,
	LocalOnly:         false,
	Connect:           false,
	Filter:            "",
}

Functions

func CreateClientForAllNodes

func CreateClientForAllNodes() map[*api.Node]*api.Client

func CreateClientForNode

func CreateClientForNode(nodeIp string) *api.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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