client

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: GPL-3.0 Imports: 7 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 struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(url string, hashKeys bool) *Client

func (*Client) Delete

func (c *Client) Delete(key Key) (err error)

func (*Client) Get

func (c *Client) Get(key Key) (value *Value, err error)

func (*Client) Has added in v0.1.6

func (c *Client) Has(key Key) (has bool, err error)

func (*Client) Marshal added in v0.1.8

func (c *Client) Marshal(key Key, value any) error

func (*Client) Peek

func (c *Client) Peek(key Key) (value *Value, err error)

func (*Client) Set

func (c *Client) Set(key Key, value []byte) (err error)

func (*Client) Unmarshal added in v0.1.8

func (c *Client) Unmarshal(key Key, value any) error

type Key

type Key = ukvs.Key

type Value

type Value = ukvs.Value

Jump to

Keyboard shortcuts

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