sseoutput

package
v0.0.0-...-73d3f13 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	HistoryLimit int
}

type SSEOutput

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

func New

func New(options *Options) (*SSEOutput, error)

func (*SSEOutput) Attach

func (x *SSEOutput) Attach(root *logberry.Root)

func (*SSEOutput) Detach

func (x *SSEOutput) Detach()

func (*SSEOutput) Event

func (x *SSEOutput) Event(event *logberry.Event)

func (*SSEOutput) Handler

func (x *SSEOutput) Handler() func(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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