Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Retriever ¶
type Retriever struct { // MongoDB connection URI URI string // Mongodb database where flags collection is Database string // Mongodb collection where flag definitions are stored Collection string // contains filtered or unexported fields }
Retriever is a configuration struct for a MongoDB connection and Collection.
func (*Retriever) Retrieve ¶
Retrieve Reads flag configuration from mongodb and returns it if a document does not comply with the specification it will be ignored
Click to show internal directories.
Click to hide internal directories.