clientlog

package
v0.0.0-...-ac624b7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(s *server.Server) echo.HandlerFunc

Handler should check all required services are up and running. This is the health check that load balancers should be hitting. If a required connection is unhealthy, we should be removed from the pool

func Install

func Install(s *server.Server)

Install binds routes to handlers for clientlog

Types

type ArbitraryJSON

type ArbitraryJSON map[string]interface{}

ArbitraryJSON will take any strings and map them to interfaces

func (ArbitraryJSON) AsFields

func (j ArbitraryJSON) AsFields() log.Fields

AsFields makes the JSON suitable for logging in logrus.WithFields

Jump to

Keyboard shortcuts

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