client

package
v0.0.0-...-cdc24ad Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

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 New

func New(addr string) (*Client, error)

func (*Client) CreateItem

func (c *Client) CreateItem(ctx context.Context, domain string, name string, data []byte) (*cache.CacheItem, error)

func (*Client) DeleteItem

func (c *Client) DeleteItem(ctx context.Context, domain string, name string) error

func (*Client) Item

func (c *Client) Item(ctx context.Context, domain string, name string) (*cache.CacheItem, error)

Jump to

Keyboard shortcuts

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