raw

package
v3.2.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2018 License: MIT Imports: 9 Imported by: 177

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRawAdapter

func NewRawAdapter(route *router.Route) (router.LogAdapter, error)

NewRawAdapter returns a configured raw.Adapter

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

Adapter is a simple adapter that streams log output to a connection without any templating

func (*Adapter) Stream

func (a *Adapter) Stream(logstream chan *router.Message)

Stream sends log data to a connection

Jump to

Keyboard shortcuts

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