config

package
v0.0.0-...-a1e0f3c Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Queue Queue
}

Config

func New

func New() (*Config, error)

New - contructor

type Queue

type Queue struct {
	User     string `envconfig:"QUEUE_USER" required:"true"`
	Password string `envconfig:"QUEUE_PASSWORD" required:"true"`
	Host     string `envconfig:"QUEUE_HOST" required:"true"`
	Port     int    `envconfig:"QUEUE_PORT" required:"true"`
	Topic    string `envconfig:"QUEUE_TOPIC" required:"true"`
}

Queue

Jump to

Keyboard shortcuts

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