Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceFireDB/IceFireDB
/ functions
Functions
1,844 in github.com/IceFireDB/IceFireDB
⨍
Functions
1,844
◇
Types & classes
204
↓ 545 callers
Function
mustDo
execute a Do(args[,-1]...), which needs to be the same as the last arg.
IceFireDB-Redis-Proxy/test/test_test.go:80
↓ 545 callers
Function
mustDo
execute a Do(args[,-1]...), which needs to be the same as the last arg.
IceFireDB-PubSub/test/test_test.go:80
↓ 295 callers
Function
Error
Error
IceFireDB-Redis-Proxy/test/proto/types.go:19
↓ 295 callers
Function
Error
Error
IceFireDB-PubSub/test/proto/types.go:19
↓ 263 callers
Method
Do
(cmd ...string)
IceFireDB-PubSub/test/proto/client.go:43
↓ 232 callers
Method
Close
()
IceFireDB-PubSub/pkg/router/types.go:30
↓ 147 callers
Function
greater
(num int)
IceFireDB-Redis-Proxy/pkg/router/mapper.go:68
↓ 147 callers
Function
greater
(num int)
IceFireDB-PubSub/pkg/router/mapper.go:68
↓ 142 callers
Method
Set
Set stores the given value for the given key. Values are automatically marshalled to JSON or gob (depending on the configuration). The key must not be
driver/oss/s3.go:28
↓ 140 callers
Function
ok
ok fails the test if an err is not nil.
IceFireDB-Redis-Proxy/test/test_test.go:23
↓ 140 callers
Function
ok
ok fails the test if an err is not nil.
IceFireDB-PubSub/test/test_test.go:23
↓ 123 callers
Method
Error
()
IceFireDB-SQLite/pkg/mysql/mysql/error.go:22
↓ 123 callers
Function
errWrongNumber
(cmd string)
IceFireDB-Redis-Proxy/test/redis.go:41
↓ 123 callers
Function
errWrongNumber
(cmd string)
IceFireDB-PubSub/test/redis.go:41
↓ 106 callers
Function
Int
Int
IceFireDB-Redis-Proxy/test/proto/types.go:32
↓ 106 callers
Function
Int
Int
IceFireDB-PubSub/test/proto/types.go:32
↓ 105 callers
Method
String
()
IceFireDB-SQLite/pkg/mysql/mysql/gtid.go:6
↓ 103 callers
Method
Run
(ctx context.Context, errSignal chan error)
IceFireDB-PubSub/proxy/proxy.go:139
↓ 98 callers
Function
String
Byte-safe string
IceFireDB-Redis-Proxy/test/proto/types.go:9
↓ 98 callers
Function
String
Byte-safe string
IceFireDB-PubSub/test/proto/types.go:9
↓ 95 callers
Method
Run
(ctx context.Context, errSignal chan error)
IceFireDB-Redis-Proxy/proxy/proxy.go:134
↓ 94 callers
Function
Strings
Strings is a helper to build 1 dimensional string arrays.
IceFireDB-Redis-Proxy/test/proto/types.go:60
↓ 94 callers
Function
Strings
Strings is a helper to build 1 dimensional string arrays.
IceFireDB-PubSub/test/proto/types.go:60
↓ 82 callers
Function
equals
equals fails the test if exp is not equal to act.
IceFireDB-Redis-Proxy/test/test_test.go:37
↓ 82 callers
Function
equals
equals fails the test if exp is not equal to act.
IceFireDB-PubSub/test/test_test.go:37
↓ 70 callers
Method
Equal
(o GTIDSet)
IceFireDB-SQLite/pkg/mysql/mysql/gtid.go:11
↓ 69 callers
Function
Dial
(addr string)
IceFireDB-Redis-Proxy/test/proto/client.go:15
↓ 69 callers
Function
Dial
(addr string)
IceFireDB-PubSub/test/proto/client.go:15
↓ 68 callers
Function
Addr
()
IceFireDB-Redis-Proxy/test/server/proxy.go:104
↓ 68 callers
Function
Addr
()
IceFireDB-PubSub/test/server/proxy.go:107
↓ 68 callers
Function
Clear
()
IceFireDB-Redis-Proxy/test/server/proxy.go:108
↓ 68 callers
Function
Clear
()
IceFireDB-PubSub/test/server/proxy.go:111
↓ 66 callers
Function
equal
(num int)
IceFireDB-Redis-Proxy/pkg/router/mapper.go:56
↓ 66 callers
Function
equal
(num int)
IceFireDB-PubSub/pkg/router/mapper.go:56
↓ 53 callers
Function
Direct
()
IceFireDB-Redis-Proxy/test/server/proxy.go:112
↓ 53 callers
Function
Direct
()
IceFireDB-PubSub/test/server/proxy.go:115
↓ 50 callers
Function
must0
must0 is a mustDo() which expects a `0` response
IceFireDB-Redis-Proxy/test/test_test.go:109
↓ 50 callers
Function
must0
must0 is a mustDo() which expects a `0` response
IceFireDB-PubSub/test/test_test.go:109
↓ 40 callers
Function
mustOK
mustOK is a mustDo() which expects an "OK" response
IceFireDB-Redis-Proxy/test/test_test.go:91
↓ 40 callers
Function
mustOK
mustOK is a mustDo() which expects an "OK" response
IceFireDB-PubSub/test/test_test.go:91
↓ 34 callers
Function
getTestConn
()
conn_test.go:28
↓ 33 callers
Function
Get
()
IceFireDB-SQLProxy/pkg/config/config.go:83
↓ 31 callers
Function
Get
()
IceFireDB-PubSub/pkg/config/config.go:71
↓ 30 callers
Function
Array
Array assembles the args in a list. Args should be raw redis commands. Example: Array(String("foo"), String("bar"))
IceFireDB-Redis-Proxy/test/proto/types.go:49
↓ 30 callers
Function
Array
Array assembles the args in a list. Args should be raw redis commands. Example: Array(String("foo"), String("bar"))
IceFireDB-PubSub/test/proto/types.go:49
↓ 30 callers
Function
Get
()
IceFireDB-Redis-Proxy/pkg/config/config.go:72
↓ 28 callers
Method
Get
(key []byte)
driver/hybriddb/db.go:190
↓ 28 callers
Function
directDo
(tb testing.TB, c *proto.Client, args ...interface{})
IceFireDB-Redis-Proxy/test/test_test.go:181
↓ 28 callers
Function
directDo
(tb testing.TB, c *proto.Client, args ...interface{})
IceFireDB-PubSub/test/test_test.go:181
↓ 26 callers
Method
Open
(path string, cfg *config.Config)
driver/hybriddb/db.go:48
↓ 26 callers
Method
Put
(key, value []byte)
driver/oss/db.go:199
↓ 26 callers
Method
WritePacket
WritePacket: data already has 4 bytes header will modify data inplace
IceFireDB-SQLProxy/pkg/mysql/packet/conn.go:179
↓ 26 callers
Method
WritePacket
WritePacket: data already has 4 bytes header will modify data inplace
IceFireDB-SQLite/pkg/mysql/packet/conn.go:179
↓ 25 callers
Method
Done
(path string)
main.go:134
↓ 22 callers
Function
mustNil
mustNil is a mustDo() which expects a nil response
IceFireDB-Redis-Proxy/test/test_test.go:97
↓ 22 callers
Function
mustNil
mustNil is a mustDo() which expects a nil response
IceFireDB-PubSub/test/test_test.go:97
↓ 21 callers
Function
directDoString
(tb testing.TB, c *proto.Client, args ...interface{})
IceFireDB-Redis-Proxy/test/test_test.go:194
↓ 21 callers
Function
directDoString
(tb testing.TB, c *proto.Client, args ...interface{})
IceFireDB-PubSub/test/test_test.go:194
↓ 20 callers
Method
Get
()
IceFireDB-SQLite/pkg/mysql/packet/conn.go:39
↓ 20 callers
Method
Put
(key, value []byte)
driver/hybriddb/db.go:171
↓ 20 callers
Function
must1
must1 is a mustDo() which expects a `1` response
IceFireDB-Redis-Proxy/test/test_test.go:115
↓ 20 callers
Function
must1
must1 is a mustDo() which expects a `1` response
IceFireDB-PubSub/test/test_test.go:115
↓ 19 callers
Method
Do
(cmd ...string)
IceFireDB-Redis-Proxy/test/proto/client.go:43
↓ 19 callers
Function
WriteError
(local *RESPHandle.WriterHandle, err error)
IceFireDB-Redis-Proxy/pkg/router/writer.go:149
↓ 19 callers
Function
WriteError
(local *RESPHandle.WriterHandle, err error)
IceFireDB-PubSub/pkg/router/writer.go:149
↓ 18 callers
Method
Get
* func (db *DB) Get(key []byte) ([]byte, error) { if v, ok := db.cache.Get(key); ok { return v.([]byte), nil } v, err := db.db.Get(key, nil) if
driver/oss/db.go:261
↓ 18 callers
Function
Uint64ToBytes
(n uint64)
IceFireDB-SQLProxy/pkg/mysql/mysql/util.go:251
↓ 18 callers
Function
Uint64ToBytes
(n uint64)
IceFireDB-SQLite/pkg/mysql/mysql/util.go:251
↓ 18 callers
Function
testZSetRange
(ay []interface{}, checkValues ...interface{})
sorted_sets_test.go:205
↓ 17 callers
Method
Bytes
()
IceFireDB-SQLite/pkg/mysql/mysql/mysql_gtid.go:209
↓ 15 callers
Function
Exec
(sql string)
IceFireDB-SQLite/internal/sqlite/db.go:76
↓ 15 callers
Function
testListRange
(key []byte, start int64, stop int64, checkValues ...int)
lists_test.go:36
↓ 14 callers
Method
Contain
(o GTIDSet)
IceFireDB-SQLite/pkg/mysql/mysql/gtid.go:13
↓ 14 callers
Method
Put
(key, value []byte)
driver/hybriddb/write_batch.go:12
↓ 14 callers
Method
Valid
()
driver/hybriddb/iterator.go:27
↓ 12 callers
Method
Error
()
IceFireDB-SQLProxy/pkg/mysql/mysql/error.go:22
↓ 12 callers
Function
Get
()
IceFireDB-SQLite/pkg/config/config.go:70
↓ 12 callers
Function
LengthEncodedInt
(b []byte)
IceFireDB-SQLProxy/pkg/mysql/mysql/util.go:143
↓ 12 callers
Function
LengthEncodedInt
(b []byte)
IceFireDB-SQLite/pkg/mysql/mysql/util.go:143
↓ 12 callers
Function
assert
assert fails the test if the condition is false.
IceFireDB-Redis-Proxy/test/test_test.go:15
↓ 12 callers
Function
assert
assert fails the test if the condition is false.
IceFireDB-PubSub/test/test_test.go:15
↓ 11 callers
Method
Next
()
IceFireDB-PubSub/pkg/router/context.go:49
↓ 11 callers
Function
Parse
Parse into interfaces. `b` must contain exactly a single command (which can be nested).
IceFireDB-Redis-Proxy/test/proto/proto.go:234
↓ 11 callers
Function
Parse
Parse into interfaces. `b` must contain exactly a single command (which can be nested).
IceFireDB-PubSub/test/proto/proto.go:234
↓ 11 callers
Method
ReadPacket
()
IceFireDB-SQLProxy/pkg/mysql/packet/conn.go:95
↓ 11 callers
Method
ReadPacket
()
IceFireDB-SQLite/pkg/mysql/packet/conn.go:95
↓ 11 callers
Method
Reset
(fieldsCount int)
IceFireDB-SQLProxy/pkg/mysql/mysql/resultset.go:38
↓ 11 callers
Method
Reset
(fieldsCount int)
IceFireDB-SQLite/pkg/mysql/mysql/resultset.go:38
↓ 11 callers
Function
getMemoryHuman
(m uint64)
server_info.go:51
↓ 11 callers
Function
interfaceToString
(args []interface{})
IceFireDB-Redis-Proxy/test/test_test.go:164
↓ 11 callers
Function
interfaceToString
(args []interface{})
IceFireDB-PubSub/test/test_test.go:164
↓ 10 callers
Method
Clone
()
IceFireDB-SQLite/pkg/mysql/mysql/gtid.go:17
↓ 10 callers
Method
Reset
()
IceFireDB-PubSub/utils/reader.go:93
↓ 10 callers
Method
Update
(GTIDStr string)
IceFireDB-SQLite/pkg/mysql/mysql/gtid.go:15
↓ 10 callers
Function
createClient
(t *testing.T, codec encoding.Codec)
driver/oss/s3_test.go:247
↓ 10 callers
Method
handleErrorPacket
(data []byte)
IceFireDB-SQLProxy/pkg/mysql/client/resp.go:71
↓ 10 callers
Method
handleErrorPacket
(data []byte)
IceFireDB-SQLite/pkg/mysql/client/resp.go:71
↓ 9 callers
Method
Bytes
()
IceFireDB-SQLProxy/pkg/mysql/mysql/mysql_gtid.go:209
↓ 9 callers
Function
Inline
Inline string
IceFireDB-Redis-Proxy/test/proto/types.go:14
↓ 9 callers
Function
Inline
Inline string
IceFireDB-PubSub/test/proto/types.go:14
next →
1–100 of 1,844, ranked by callers