fakes

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeLogStream

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

func NewFakeLogStream

func NewFakeLogStream(validToken string) *FakeLogStream

func (*FakeLogStream) AddEvent

func (f *FakeLogStream) AddEvent(event *loggregator_v2.Envelope)

func (*FakeLogStream) Close

func (f *FakeLogStream) Close()

func (*FakeLogStream) LastAuthorization

func (f *FakeLogStream) LastAuthorization() string

func (*FakeLogStream) Requested

func (f *FakeLogStream) Requested() bool

func (*FakeLogStream) ServeHTTP

func (f *FakeLogStream) ServeHTTP(rw http.ResponseWriter, r *http.Request)

func (*FakeLogStream) Start

func (f *FakeLogStream) Start()

func (*FakeLogStream) URL

func (f *FakeLogStream) URL() string

Jump to

Keyboard shortcuts

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