Documentation ¶
Index ¶
Constants ¶
View Source
const ( Series = CollType("series") Kv = CollType("kv") )
View Source
const (
DragonDBAuthKey = "InfDB.AuthToken.85629437"
)
Variables ¶
This section is empty.
Functions ¶
func DocIdIFToDEC ¶
Convert user-given origin interface{} document Id into internal document Id type - decimal.
func NewRPCChecker ¶
func NewRPCChecker() grpcs.ParamChecker
Rules 'grpcs' package needs. Used to verify function parameters between RPC client and server.
Types ¶
type Config ¶
type Config struct { ListenAddr string // Database server listen address. Platform cloud.Platform // Which cloud. Region string // Id of cloud region to access from. AccessKeyEncryptMe string // Cloud API key. SecretKeyEncryptMe string // Cloud API secret. LAN bool // Use LAN endpoint or WAN endpoint to access cloud API. BucketPrefix *string // The name prefix of the buckets used by DragonDB in the cloud. If it is nil, "infdb" will be used, "infdbmeta" for index and "infdbchunk" for data. UsernameEncryptMe string // DragonDB server username. PasswordEncryptMe string // DragonDB server password. }
DragonDB server configuration.
Click to show internal directories.
Click to hide internal directories.