config

package
v1.0.43 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	service.ServiceConf
	ListenOn string
	Mongo    struct {
		URL string
		DB  string
	}
	CacheConf     cache.CacheConf
	Elasticsearch ElasticsearchConf
	Redis         *redis.RedisConf
	GorseConf     struct {
		Url    string
		ApiKey string
	}
}

func NewConfig

func NewConfig() (*Config, error)

type ElasticsearchConf

type ElasticsearchConf struct {
	Addresses []string
	Username  string
	Password  string
}

Jump to

Keyboard shortcuts

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