leveldb

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMixCache

func NewMixCache(path string) (client standard.MixCache, err error)

todo defer

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) Get

func (c *Client) Get(key string) (resp interface{}, err error)

func (*Client) Set

func (c *Client) Set(key string, val interface{}, expire int) (resp interface{}, err error)

todo 不支持数字

Jump to

Keyboard shortcuts

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