MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / init

Function init

servers.go:8–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6)
7
8func init() {
9 conf.AddReadCommand("INFO", cmdINFO)
10 conf.AddWriteCommand("FLUSHALL", cmdFLUSHALL)
11 conf.AddWriteCommand("FLUSHDB", cmdFLUSHDB)
12}
13
14func cmdINFO(_ uhaha.Machine, args []string) (interface{}, error) {
15 if len(args) != 1 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected