config

package
v0.0.0-...-90fe38c Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AlertEmailList = []string{
	"pythonup@hotmail.com",
}
View Source
var AppRoot string
View Source
var KafkaTopic map[string]string
View Source
var RabbitMQQueue map[string]string

Functions

func SetAppRoot

func SetAppRoot(cmd string)

Types

type EmailConfig

type EmailConfig struct {
	Host     string
	Port     int
	User     string
	Password string
}
var MailConfig EmailConfig

type Kafka

type Kafka struct {
	Broker []string
}
var KafkaConfig Kafka

type RabbitMQ

type RabbitMQ struct {
	Host string
	Port string
	User string
	Pass string
}
var RabbitMQConfig RabbitMQ

Jump to

Keyboard shortcuts

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