config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 4 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 {
	Server
	Logger
	Users
	RabbitMQ
	Things
}

Config represents the service configuration

func Load

func Load() Config

Load returns the service configuration

type Logger

type Logger struct {
	Level string
}

Logger represents the logger configuration properties

type RabbitMQ

type RabbitMQ struct {
	URL string
}

RabbitMQ represents the rabbitmq configuration properties

type Server

type Server struct {
	Port int
}

Server represents the server configuration properties

type Things

type Things struct {
	Hostname string
	Port     uint16
}

Things represents the things service to proxy request

type Users

type Users struct {
	Hostname string
	Port     uint16
}

Users represents the users service to proxy request

Jump to

Keyboard shortcuts

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