config

package
v0.0.0-...-4b94d82 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDotPrefix

func EnsureDotPrefix(extension string) string

func InitConfig

func InitConfig(configPath string)

Types

type AppConfig

type AppConfig struct {
	Environment          string
	Id                   string
	PathToResults        string
	ReadyToProcessSuffix string
	ProcessFileExtension string
}

func App

func App() *AppConfig

type Config

type Config struct {
	App   AppConfig
	Kafka KafkaConfig
}

type KafkaConfig

type KafkaConfig struct {
	Brokers        []string
	TopicsConsumer []string
	TopicProducer  string
	TopicError     string
	GroupID        string
}

func Kafka

func Kafka() *KafkaConfig

Jump to

Keyboard shortcuts

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