immuc

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PadRight

func PadRight(str, pad string, length int) string

PadRight ...

func PrintByIndex

func PrintByIndex(item *schema.StructuredItem, valueOnly bool) string

PrintByIndex ...

func PrintItem

func PrintItem(key []byte, value []byte, message interface{}, valueOnly bool) string

PrintItem ...

func PrintRoot

func PrintRoot(root *schema.Root) string

PrintRoot ...

func PrintSetItem

func PrintSetItem(set []byte, rkey []byte, score float64, message interface{}) string

PrintSetItem ...

Types

type Client

type Client interface {
	Connect(args []string) error
	Disconnect(args []string) error
	CurrentRoot(args []string) (string, error)
	GetByIndex(args []string) (string, error)
	GetKey(args []string) (string, error)
	RawSafeGetKey(args []string) (string, error)
	SafeGetKey(args []string) (string, error)
	GetRawBySafeIndex(args []string) (string, error)
	Login(args []string) (string, error)
	Logout(args []string) (string, error)
	History(args []string) (string, error)
	HealthCheck(args []string) (string, error)
	Reference(args []string) (string, error)
	SafeReference(args []string) (string, error)
	ZScan(args []string) (string, error)
	IScan(args []string) (string, error)
	Scan(args []string) (string, error)
	Count(args []string) (string, error)
	RawSafeSet(args []string) (string, error)
	Set(args []string) (string, error)
	SafeSet(args []string) (string, error)
	ZAdd(args []string) (string, error)
	SafeZAdd(args []string) (string, error)
	Consistency(args []string) (string, error)
	Inclusion(args []string) (string, error)
	ValueOnly() bool
	SetValueOnly(v bool)
}

Client ...

func Init

func Init() (Client, error)

Init ...

Jump to

Keyboard shortcuts

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