Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KV ¶
type KV interface { Add(string, []byte, time.Duration) error Set(string, []byte, time.Duration) error Delete(string) error Get(string) ([]byte, error) Incr(string) error IncrBy(string, int64) error WithContext(context.Context) KV }
KV key value db interface
func NewFaunaDB ¶
NewFaunaDB create faunadb client
func NewRedisDB ¶
NewRedisDB create redis client
Click to show internal directories.
Click to hide internal directories.