Documentation ¶
Index ¶
- func Grant(client func() *clientv3.Client, ctx context.Context, ttl int64) func() clientv3.LeaseID
- func NewClient(addr string) func() *clientv3.Client
- func NewLazyClient(client func() *clientv3.Client) func() *clientv3.Client
- func NewLazyLease(grant func() clientv3.LeaseID) func() clientv3.LeaseID
- func NewLease(client func() *clientv3.Client, ctx context.Context, ttl int64) clientv3.LeaseID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.