config

package
v0.0.0-...-db15af9 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(flags *pflag.FlagSet)

AddFlags .

Types

type APIBuilder

type APIBuilder struct {
	*Flags
}

APIBuilder .

func (*APIBuilder) Init

func (b *APIBuilder) Init(v *viper.Viper) *APIBuilder

Init .

type Flags

type Flags struct {
	KafkaAddr string
	LogLevel  string
	Port      string
}

Flags .

Jump to

Keyboard shortcuts

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