conf

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 2 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 {
	HTTP struct {
		Port int `json:"port" yaml:"port"`
	} `json:"http" yaml:"http"`

	Logger struct {
		Level string `json:"level" yaml:"level"`
	} `json:"logger" yaml:"logger"`

	Mongo Mongo `json:"mongo" yaml:"mongo"`
}

Config service config

func Get

func Get() *Config

Get get config

type Mongo

type Mongo struct {
	URI string `json:"uri" yaml:"uri"`
}

Mongo mongo config

Jump to

Keyboard shortcuts

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