Versions in this module Expand all Collapse all v2 v2.0.0 Aug 24, 2026 Changes in this version + var ErrInvalidSSLConfig = errors.New("connect: invalid SSL configuration") + var ErrNoEndpoint = errors.New("connect: at least one endpoint is required") + var ErrSSLDisabled = errors.New("connect: SSL support is disabled") + type CleanupFunc func() + func Connect(ctx context.Context, cfg Config) (storage.Storage, CleanupFunc, error) + func NewEtcdStorage(ctx context.Context, cfg Config) (storage.Storage, CleanupFunc, error) + func NewTCSStorage(ctx context.Context, cfg Config) (storage.Storage, CleanupFunc, error) + type Config struct + DialTimeout time.Duration + Endpoints []string + Password string + SSL SSLConfig + Username string + type SSLConfig struct + CaFile string + CaPath string + CertFile string + Ciphers string + Enable bool + KeyFile string + Password string + PasswordFile string + VerifyHost bool + VerifyPeer bool Other modules containing this package github.com/tarantool/go-storage