configuration

package
v0.0.0-...-c7ff7ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL