config

package
v0.0.0-...-cd81764 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(validators ...Validator) (err error)

Types

type Config

type Config struct {
	Kafka    kafka    `mapstructure:"kafka"`
	Logger   logger   `mapstructure:"logger"`
	Nats     nats     `mapstructure:"nats"`
	Postgres postgres `mapstructure:"postgres"`
}

type Validator

type Validator interface {
	Validate() error
}

Jump to

Keyboard shortcuts

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