tst

package
v0.0.0-...-3e14fed Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Add(key, value string) error
	Get(key string) (string, error)
}

func NewClient

func NewClient(host string) Client

type Error

type Error string
const (
	ErrNotFound   Error = "not_found"
	ErrOutOfLimit Error = "out_of_limit"
)

func (Error) Error

func (o Error) Error() string

Jump to

Keyboard shortcuts

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