conf

package
v0.0.0-...-877b449 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DatabaseSetting = &Database{}
View Source
var RabbitMqSetting = &Rabbit{}

Functions

func MapTo

func MapTo(str string, o interface{})

func Setup

func Setup()

Types

type Database

type Database struct {
	User     string
	Password string
	Type     string
	Host     string
	Name     string
}

type Rabbit

type Rabbit struct {
	RabbitMQ         string
	RabbitMQUser     string
	RabbitMQPassWord string
	RabbitMQHost     string
	RabbitMQPort     string
}

Jump to

Keyboard shortcuts

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