Documentation
¶
Overview ¶
Package pgsqlkv provides XMPP functionality.
Index ¶
- type Config
- type KV
- func (k *KV) Del(ctx context.Context, key string) error
- func (k *KV) Get(ctx context.Context, key string) ([]byte, error)
- func (k *KV) GetPrefix(ctx context.Context, prefix string) (map[string][]byte, error)
- func (k *KV) Put(ctx context.Context, key string, value string) error
- func (k *KV) Start(_ context.Context) error
- func (k *KV) Stop(_ context.Context) error
- func (k *KV) Watch(ctx context.Context, prefix string, withPrevVal bool) <-chan kvtypes.WatchResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DSN string `fig:"dsn"`
}
Config contains PostgreSQL KV configuration parameters.
type KV ¶
type KV struct {
// contains filtered or unexported fields
}
KV represents a PostgreSQL key-value store implementation.
Click to show internal directories.
Click to hide internal directories.