Documentation ¶
Index ¶
- Constants
- Variables
- func CompileRegexps(strs []string) ([]*regexp.Regexp, error)
- func ConfigFileName(datadir string) string
- func DecodeCamelCase(s string) (string, error)
- func FileExists(f string) (bool, error)
- func KafkaMessageString(m *kafka.Message) string
- func MatchRegexps(res []*regexp.Regexp, s string) bool
- func ReadConfigDatabase(datadir string) (*dbx.DB, error)
- func SplitList(list string) []string
- func SysdbFileName(datadir string) string
- func SystemDirName(datadir string) string
- func SystemPIDFileName(datadir string) string
- func UserPerm(relist *RegexList, table *dbx.Table) bool
- type RegexList
Constants ¶
View Source
const DatabaseVersion = 24
View Source
const MaximumTypeSizeIndex = 2500
View Source
const ModePermRW = 0600
ModePermRW is the umask "-rw-------".
View Source
const ModePermRWX = 0700
ModePermRWX is the umask "-rwx------".
Variables ¶
View Source
var MetadbVersion = "(unknown version)"
MetadbVersion is defined at build time via -ldflags.
Functions ¶
func ConfigFileName ¶
func DecodeCamelCase ¶
DecodeCamelCase parses a camel case string into all-lowercase words separated by underscores. A sequence of uppercase letters is interpreted as a word, except that the last uppercase letter of a sequence is considered the start of a new word if it is followed by a lowercase letter.
func FileExists ¶
FileExists returns true if f is an existing file or directory.
func KafkaMessageString ¶
func SysdbFileName ¶
func SystemDirName ¶
func SystemPIDFileName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.