shmkv

package
v0.0.0-...-ce2e1b3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShmKv

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

func NewShmKvFromFile

func NewShmKvFromFile(ConfigPath string) (*ShmKv, error)

func (*ShmKv) Delete

func (c *ShmKv) Delete(k string)

func (*ShmKv) Flush

func (c *ShmKv) Flush()

func (*ShmKv) GetWithExpiration

func (c *ShmKv) GetWithExpiration(k string) ([]byte, time.Time, int, bool)

func (*ShmKv) Set

func (c *ShmKv) Set(k string, v []byte, d time.Duration, flag int) error

Jump to

Keyboard shortcuts

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