Documentation
¶
Index ¶
- Variables
- func NewEtcd(urls []string) (*clientv3.Client, error)
- func NewMemcache(urls []string) (*memcache.Client, error)
- func NewMongo(ctx context.Context, url string) (*mongo.Client, error)
- func NewPostgres(ctx context.Context, dsn string) (*pgxpool.Pool, error)
- func NewVault(url string) (*vault.Client, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultTimeout = 5 * time.Second
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.