utils

package
v0.0.0-...-4b7bac6 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: MIT Imports: 4 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(addr string) *Client

func (*Client) Get

func (c *Client) Get(n string) (*string, error)

func (*Client) Set

func (c *Client) Set(n string, v string) error

type GetResponse

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

type SetRequest

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

type SetResponse

type SetResponse 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