Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
ConfigTypePreference []string `toml:"configTypePreference,omitempty" json:"configTypePreference,omitempty"`
}
type Configuration ¶
type Configuration struct { Base *Base `toml:"base,omitempty" json:"base,omitempty"` Messaging *rabbitMQConfig.RabbitMQ `toml:"messaging,omitempty" json:"messaging,omitempty"` FS *fsConfig.FS `toml:"fs,omitempty" json:"fs,omitempty"` S3 *s3Config.S3 `toml:"s3,omitempty" json:"s3,omitempty"` Files *Files `toml:"files,omitempty" json:"files,omitempty"` Mongo *mongoConfig.Mongo `toml:"mongo,omitempty" json:"mongo,omitempty"` DB *DB `toml:"db,omitempty" json:"db,omitempty"` }
func Default ¶
func Default() *Configuration
type DB ¶
type DB struct {
Type dbTypes.DatabaseType `toml:"type,omitempty" json:"type,omitempty"`
}
type Files ¶
type Files struct { StorageType fileStorageTypes.FileStorageType `toml:"storageType,omitempty" json:"storageType,omitempty"` BasePath string `toml:"basePath,omitempty" json:"basePath,omitempty"` }
Click to show internal directories.
Click to hide internal directories.