Back to

Package server

Latest Go to latest

The highest tagged major version is .

Published: Nov 2, 2019 | License: BSD-3-Clause | Module:


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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier