config

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	Username string `mapstructure:"username" yaml:"username" mask:""`
	Password string `mapstructure:"password" yaml:"password" mask:""`
}

type Service

type Service struct {
	Admin           Admin          `mapstructure:"admin" yaml:"admin"`
	ErrAttemptLimit int            `mapstructure:"errAttemptLimit" yaml:"errAttemptLimit"`
	Kafka           conf.Transport `mapstructure:"kafka" yaml:"kafka"`
}

func Cfg

func Cfg() Service

Jump to

Keyboard shortcuts

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