files

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyToFilename

func KeyToFilename(key string) string

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg kvs.Config) *Client

func (Client) GetAny

func (client Client) GetAny(ctx context.Context, key string, val any) error

func (Client) GetOrDefaultString

func (client Client) GetOrDefaultString(ctx context.Context, key, def string) string

func (Client) GetString

func (client Client) GetString(ctx context.Context, key string) (string, error)

func (Client) SetAny

func (client Client) SetAny(ctx context.Context, key string, val any) error

func (Client) SetString

func (client Client) SetString(ctx context.Context, key, val string) error

type Item

type Item struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL