Documentation ¶
Index ¶
Constants ¶
View Source
const ( VERSION = "0.1" SIZE_BUCKET = "_sz_" FIELDS_BUCKET = "_f_" FVALUE_BUCKET_PREFIX = "_v_" TERM_DOCS_BUCKET_PREFIX = "_t_" TERM_FIELDS_BUCKET = "_tf_" )
View Source
const (
COMMIT = "6605a88"
)
Variables ¶
View Source
var (
ConfigFile string
)
View Source
var KVDB *bolt.DB
Functions ¶
func BytesToInt64 ¶
func Int64ToBytes ¶
func ParseConfig ¶
func ParseConfig(cfg string)
func StringSliceIntersect ¶
Types ¶
type GlobalConfig ¶
type GlobalConfig struct { Pid string `json:"pid"` Debug bool `json:"debug"` Http *HttpConfig `json:"http"` }
func Config ¶
func Config() *GlobalConfig
type HttpConfig ¶
Click to show internal directories.
Click to hide internal directories.