v3

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(conf *Config) (s.Store, s.DestroyFunc, error)

Types

type Config

type Config struct {
	Endpoints []string `yaml:"endpoint"`
	TLS       struct {
		Key  string `yaml:"key"`
		Cert string `yaml:"cert"`
		CA   string `yaml:"ca"`
	} `yaml:"tls"`
	Quorum bool   `yaml:"quorum"`
	Prefix string `yaml:"prefix"`
}

type TxResponse

type TxResponse struct {
	*clientv3.TxnResponse
}

Jump to

Keyboard shortcuts

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