configuration

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDevLogger

func GetDevLogger() *zap.Logger

GetDevLogger return development logger

func GetProdLogger

func GetProdLogger() *zap.Logger

GetProdLogger return production logger

func Init

func Init(ops Options)

Init global MQTT config with given options if not being called default set by init() is used

Types

type Options

type Options struct {
	// LogWithTs either display timestamp messages on log or not
	LogWithTs bool
}

Options global MQTT config

Jump to

Keyboard shortcuts

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