config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KhumuConfig

type KhumuConfig struct {
	Host string `yaml:"host"`
	Port string `yaml:"port"`
	DB   struct {
		Kind    string `yaml:"kind"`
		SQLite3 struct {
			FilePath string `yaml:"filePath"`
		} `yaml:"sqlite3"`
		MySQL struct {
			Host         string `yaml:"host"`
			Port         int    `yaml:"port"`
			DatabaseName string `yaml:"databaseName"`
			User         string `yaml:"user"`
			Password     string `yaml:"password"`
		}
	} `yaml:"db"`
	Sns struct {
		TopicArn string `yaml:"topic_arn"`
	} `yaml:"sns"`
	Redis struct {
		Addr string `yaml:"addr"`
	} `yaml:"redis"`
	Khumu struct {
		CommandCenter struct {
			RootURL string `yaml:"root_url"`
		} `yaml:"command_center"`
	} `yaml:"khumu"`
}
var (
	Config   *KhumuConfig
	Location *time.Location
)

Jump to

Keyboard shortcuts

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