setting

package
v0.0.0-...-52ab7f8 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Appsetting = &App{}
View Source
var Healthsetting = &Health{}
View Source
var KafkaSetting = &Kafka{}
View Source
var StatusSetting = &Status{}

Functions

This section is empty.

Types

type App

type App struct {
	Server      string
	MetaRequest string
}

func (*App) Getenv

func (as *App) Getenv()

type Health

type Health struct {
	Server string
}

func (*Health) Getenv

func (hs *Health) Getenv()

type Kafka

type Kafka struct {
	Broker      string   `toml:"broker"`
	GroupID     string   `toml:"group_id"`
	Topics      []string `toml:"topics"`
	ChanBufSize int      `toml:"chan_buf_size"`
}

func (*Kafka) Getenv

func (ks *Kafka) Getenv()

type Status

type Status struct {
	Count int
	Tick  int
	Drop  int
}

func (*Status) Getenv

func (ss *Status) Getenv()

Jump to

Keyboard shortcuts

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