client

package
v0.0.0-...-5463b5b Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(l *zap.Logger)

InitLogger - Init zap Logger

func InitMongoRepository

func InitMongoRepository(r *mongo.Repository)

InitMongoRepository - Init Mongo DB

func StartHTTPServer

func StartHTTPServer(config Config, errChan chan error)

Types

type Config

type Config struct {
	Port       int
	DistroHost string
}

func GetDefaultConfig

func GetDefaultConfig() Config

Jump to

Keyboard shortcuts

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