Documentation ¶ Index ¶ func New(opts ...Option) (s *store, err error) type Config type Option func WithServerList(serverList []string) Option func WithTLSCredential(keyFile, certFile, trustedCAFile string) Option Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(opts ...Option) (s *store, err error) Types ¶ type Config ¶ type Config struct { // ServerList is the list of storage servers to connect with. ServerList []string // TLS credentials KeyFile string CertFile string TrustedCAFile string Prefix string } type Option ¶ type Option func(*Config) func WithServerList ¶ func WithServerList(serverList []string) Option func WithTLSCredential ¶ func WithTLSCredential(keyFile, certFile, trustedCAFile string) Option Source Files ¶ View all Source files etcd3.go options.go store.go watcher.go Click to show internal directories. Click to hide internal directories.