setting

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() (err error)

Types

type Config

type Config struct {
	KafkaConfig `mapstructure:"kafka"`
}

func GetConf

func GetConf() *Config

type KafkaConfig

type KafkaConfig struct {
	Address  string `mapstructure:"address"`
	ChanSize int64  `mapstructure:"chan_size"`
}

Jump to

Keyboard shortcuts

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