Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Creator ¶
type Creator interface { // CreateWithTTL creates a kv pair with ttl in kv storage CreateWithTTL(ctx context.Context, key []byte, value []byte, revision uint64, ttl int64) (err error) // Create creates a kv pair in kv storage Create(ctx context.Context, key []byte, value []byte, revision uint64) (err error) }
Creator control creation and gc of kv with ttl
Click to show internal directories.
Click to hide internal directories.