Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { chassis.Repository Client() *mongo.Client }
func New ¶
func New(configKey string) Repository
New instantiates a new repository. A call to Open is required before use. The configKey parameter dictates which key in the configuration will be read during initialization. Default: "repositories.mongo"
Click to show internal directories.
Click to hide internal directories.