config

package
v0.0.0-...-b66d68a Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(path string)

Types

type Config

type Config struct {
	Kafka KafkaServiceConfig
}
var C Config

func (*Config) GetKafkaServiceConfig

func (T *Config) GetKafkaServiceConfig() KafkaServiceConfig

type KafkaIsolation

type KafkaIsolation struct {
	Keyword        string
	ProducerConfig map[string]interface{}
	ConsumerConfig map[string]interface{}
}

type KafkaServiceConfig

type KafkaServiceConfig struct {
	Rpc        map[string]string
	Isolations []KafkaIsolation
}

Jump to

Keyboard shortcuts

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