models

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GearsPyStats           = "rg.pystats"
	GearsDumpRegistrations = "rg.dumpregistrations"
	GearsPyExecute         = "rg.pyexecute"
	GearsPyDumpReqs        = "rg.pydumpreqs"
)

*

  • RedisGears Commands
View Source
const (
	GraphConfig  = "graph.config"
	GraphExplain = "graph.explain"
	GraphProfile = "graph.profile"
	GraphQuery   = "graph.query"
	GraphSlowlog = "graph.slowlog"
)

*

  • RedisGraph Commands
View Source
const (
	TimeSeriesGet        = "ts.get"
	TimeSeriesMGet       = "ts.mget"
	TimeSeriesInfo       = "ts.info"
	TimeSeriesQueryIndex = "ts.queryindex"
	TimeSeriesRange      = "ts.range"
	TimeSeriesMRange     = "ts.mrange"
)

*

  • RedisTimeSeries Commands
View Source
const (
	ClientList   = "clientList"
	ClusterInfo  = "clusterInfo"
	ClusterNodes = "clusterNodes"
	Get          = "get"
	HGet         = "hget"
	HGetAll      = "hgetall"
	HKeys        = "hkeys"
	HLen         = "hlen"
	HMGet        = "hmget"
	Info         = "info"
	LLen         = "llen"
	SCard        = "scard"
	SlowlogGet   = "slowlogGet"
	SMembers     = "smembers"
	TTL          = "ttl"
	Type         = "type"
	XInfoStream  = "xinfoStream"
	XLen         = "xlen"
	XRange       = "xrange"
	XRevRange    = "xrevrange"
)

*

  • Redis Commands
View Source
const (
	SearchInfo = "ft.info"
)

*

  • RediSearch Commands
View Source
const (
	TMScan = "tmscan"
)

*

  • Custom Commands

Variables

View Source
var SearchInfoConfig = map[string]string{
	"inverted_sz_mb":          "decmbytes",
	"offset_vectors_sz_mb":    "decmbytes",
	"doc_table_size_mb":       "decmbytes",
	"sortable_values_size_mb": "decmbytes",
	"key_table_size_mb":       "decmbytes",
	"percent_indexed":         "percentunit",
}

*

  • FT.INFO field configuration

Functions

This section is empty.

Types

type DumpRegistrations

type DumpRegistrations struct {
	ID               string           `redis:"id"`
	Reader           string           `redis:"reader"`
	Desc             string           `redis:"desc"`
	RegistrationData RegistrationData `redis:"RegistrationData"`
	PD               string           `redis:"PD"`
}

*

  • RG.DUMPREGISTRATIONS Radix marshaling

type EdgeEntry

type EdgeEntry struct {
	Id       string
	Source   string
	Target   string
	MainStat string
}

*

  • Represents edge

type NodeEntry

type NodeEntry struct {
	Id       string
	Title    string
	SubTitle string
	MainStat string
	Arc      int64
}

*

  • Represents node

type PyDumpReq

type PyDumpReq struct {
	GearReqVersion int64    `redis:"GearReqVersion"`
	Name           string   `redis:"Name"`
	IsDownloaded   string   `redis:"IsDownloaded"`
	IsInstalled    string   `redis:"IsInstalled"`
	CompiledOs     string   `redis:"CompiledOs"`
	Wheels         []string `redis:"Wheels"`
}

*

  • RG.PYDUMPREQS Radix marshaling

type PyStats

type PyStats struct {
	TotalAllocated int64 `redis:"TotalAllocated"`
	PeakAllocated  int64 `redis:"PeakAllocated"`
	CurrAllocated  int64 `redis:"CurrAllocated"`
}

*

  • RG.PYSTATS Radix marshaling

type RegistrationData

type RegistrationData struct {
	Mode         string                 `redis:"mode"`
	NumTriggered int64                  `redis:"numTriggered"`
	NumSuccess   int64                  `redis:"numSuccess"`
	NumFailures  int64                  `redis:"numFailures"`
	NumAborted   int64                  `redis:"numAborted"`
	LastError    string                 `redis:"lastError"`
	Args         map[string]interface{} `redis:"args"`
	Status       string                 `redis:"status"`
}

*

  • Registration data for RG.DUMPREGISTRATIONS Radix marshaling

Jump to

Keyboard shortcuts

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