godis

package
v0.0.0-...-9d0cb51 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 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 GodisServer

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

func Singleton

func Singleton() *GodisServer

func (*GodisServer) Flush

func (server *GodisServer) Flush()

func (*GodisServer) Get

func (server *GodisServer) Get(key string) (val interface{}, ok bool)

func (*GodisServer) Set

func (server *GodisServer) Set(key, val string)

type ServerType

type ServerType int
const (
	WithBackup ServerType = iota + 1
	WithoutBackup
)

Jump to

Keyboard shortcuts

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