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 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
Click to show internal directories.
Click to hide internal directories.