client

package
v0.0.0-...-63ebc92 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ItemDelete

func ItemDelete(ctx context.Context, username, item string) error

func ItemGet

func ItemGet(ctx context.Context, username, item string) (string, error)

func ItemSet

func ItemSet(ctx context.Context, username, item, value string) error

func Register

func Register(ctx context.Context, username string) error

func SaveConfig

func SaveConfig(c Config) error

Types

type Config

type Config struct {
	Username string
}

func LoadConfig

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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