handlers

package
v0.0.0-...-0ad2128 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	Read(
		ctx context.Context,
		sourceID string,
		start time.Time,
		opts ...logcache.ReadOption,
	) ([]*loggregator_v2.Envelope, error)
}

Reader reads envelopes from Log Cache

type Starter

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

Starter handles HTTP requests to start the request-spinner

func NewStarter

func NewStarter(r Reader) Starter

NewStarter creates a Starter

func (Starter) ServeHTTP

func (s Starter) ServeHTTP(w http.ResponseWriter, r *http.Request)

Starter implements http.Handler

Jump to

Keyboard shortcuts

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