utils

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

JSON fascade for abstraction of json marshalling and unmarhalling

Functions

func NotifyServiceReady

func NotifyServiceReady()

NotifyServiceReady notify underlying os that service is ready

func NotifyServiceStopping

func NotifyServiceStopping()

NotifyServiceStopping notify underlying os that service is stopping

Types

type LogFormat

type LogFormat struct {
}

LogFormat is a custom logging formater for logrus

func (*LogFormat) Format

func (f *LogFormat) Format(entry *log.Entry) ([]byte, error)

Format processed each log entry and produces formatted log line

Jump to

Keyboard shortcuts

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