server

package
v0.0.0-...-43d2b9d Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Globals

type Globals struct {
	Logger            *zap.Logger
	RepositoryFactory repository.Factory

	BuildTime string
	Version   string
}

Globals define some globally initialized in main objects

type Vars

type Vars struct {
	HTTPAddress string
	HTTPPort    string

	DB        string
	DBTimeout time.Duration
}

Vars declare variables for service running

func LoadConfig

func LoadConfig(logger *zap.Logger) Vars

LoadConfig load config

Jump to

Keyboard shortcuts

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