config

package
v0.0.0-...-c2a67b7 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 3 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 {
	BootstrapServer  string `env:"BOOTSTRAP_SERVER,required"`
	KafkaCertificate string `env:"KAFKA_CERTIFICATE,required"`
	GroupId          string `env:"GROUP_ID"`
	Username         string `env:"USERNAME,required"`
	Password         string `env:"PASSWORD,required"`
}

func LoadConfig

func LoadConfig() Config

Jump to

Keyboard shortcuts

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