models

package
v0.0.0-...-2734c1c Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 0 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 interface {
	NewConfig()
}

type Message

type Message struct {
	Body string
}

type RmqConfig

type RmqConfig struct {
	Host     string `yaml:"host" envconfig:"RMQ_HOST"`
	Port     int    `yaml:"port" envconfig:"RMQ_PORT"`
	Username string `yaml:"username" envconfig:"RMQ_USER"`
	Password string `yaml:"password" envconfig:"RMQ_PASSWORD"`
	Queue    string `yaml:"queue" envconfig:"RMQ_QUEUE"`
	TLS      bool   `yaml:"tls" envconfig:"RMQ_TLS"`
}

Jump to

Keyboard shortcuts

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