crudProvider

package
v0.0.0-...-cd372c4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Implamintation

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

func (*Implamintation) EndConn

func (i *Implamintation) EndConn()

func (*Implamintation) Get

func (i *Implamintation) Get(key string) (string, error)

func (*Implamintation) GetInt

func (i *Implamintation) GetInt(key string) (int, error)

func (*Implamintation) Increment

func (i *Implamintation) Increment(key string) error

func (*Implamintation) InitConn

func (i *Implamintation) InitConn(Addr string) error

func (*Implamintation) Set

func (i *Implamintation) Set(key, value string) error

type Interface

type Interface interface {
	Get(key string) (string, error)
	GetInt(key string) (int, error)
	Set(key, value string) error
	Increment(key string) error
}

Jump to

Keyboard shortcuts

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