config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Sarama      = "sarama"
	Confluentic = "confluentic"
	Segmentio   = "segmentio"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	PORT             string
	SERVERTIMEOUT    int
	KAFKAURL         string
	KAFKASERVER      string
	KAFKATOPIC       string
	KAFKAGROUPID     string
	KAFKARESETPOLICY string
	MONGODBURL       string
	MONGODB          string
	MONGOCOLLECTION  string
	MONGOTIMEOUT     int
	BROKER           string
}

func LoadViperConfig

func LoadViperConfig() *Configuration

TODO: add replacer . by _

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳