Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
AppName string
Version string
Port string
Environment string
Description string
MongoURI string
MongoDatabase string
}
func LoadConfig ¶
type MongoConfig ¶
MongoConfig holds MongoDB configuration
func NewMongoConfig ¶
func NewMongoConfig() *MongoConfig
NewMongoConfig creates a new MongoDB configuration
Click to show internal directories.
Click to hide internal directories.