Documentation
¶
Index ¶
- Variables
- func IsVersionGreater(version string, major int, minor int, release int) bool
- func MongoSession(uri string) *mgo.Session
- func MongoSessionNodeType(session *mgo.Session) (string, error)
- func MongoSessionServerVersion(session *mgo.Session) (string, error)
- func ParameterizeString(text string) string
- func ParseEnabledGroups(enabledGroupsFlag string)
- func SnakeCase(text string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // EnabledGroups is map with the group name as field and a boolean indicating wether that group is enabled or not. EnabledGroups = make(map[string]bool) )
Functions ¶
func IsVersionGreater ¶
func MongoSession ¶
func MongoSession(uri string) *mgo.Session
func MongoSessionNodeType ¶
func ParameterizeString ¶
ParameterizeString parameterizes the given string.
func ParseEnabledGroups ¶
func ParseEnabledGroups(enabledGroupsFlag string)
ParseEnabledGroups parses the groups passed by the command line input.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.