Documentation ¶
Index ¶
Constants ¶
View Source
const ( Client Kind = iota System = iota Database )
Variables ¶
View Source
var Commands = []Command{ {"connect", Client, "connect treedb server", "connect ADDRESS(tcp[4|6]://host:port or unix://filepath)"}, {"create", System, "create database", "create NAME [FROM TEMPLATE]"}, {"select", System, "select database", "select NAME"}, {"get", Database, "get value stored at path", "get PATH"}, {"set", Database, "set value stored to path", "set PATH VALUE"}, {"delete", Database, "delete key pointed by path", "delete PATH"}, {"cache", Database, "set cache timeout for path", "cache PATH TIMEOUT(never or delete or 0 or time.Duration)"}, {"touch", Database, "update timestamp for in memory path", "touch PATH"}, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.