config

package
v0.0.0-...-0d52152 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBrokerAddrNotSet = errors.New("KAFKA_BROKER_ADDRESS is not set")
	ErrSlackTopicNotSet = errors.New("SLACK_KAFKA_TOPIC is not set")
	ErrWebhookUrlNotSet = errors.New("SLACK_WEBHOOK_URL is not set")
)

Functions

This section is empty.

Types

type SlackConfig

type SlackConfig struct {
	BrokerAddr string
	SlackTopic string
	WebhookURL string
}

func Load

func Load() (*SlackConfig, error)

Jump to

Keyboard shortcuts

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