util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConfig

func ReadConfig()

func WriteConfig

func WriteConfig()

Types

type ConfigType

type ConfigType struct {
	KafkaServer  []string `json:"kafka_server"`
	KafkaTopic   string   `json:"kafka_topic"`
	KafkaGroup   string   `json:"kafka_group"`
	KafkaOffset  int64    `json:"kafka_offset"`
	EtcdServer   []string `json:"etcd_server"`
	DialTimeout  int64    `json:"dial_timeout"`
	LeaderPort   string   `json:"leader_port"`
	FolowerPorts []string `json:"folloer_ports"`
}
var Config ConfigType

Jump to

Keyboard shortcuts

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