fakes

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2016 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 FakeFirehose

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

func NewFakeFirehose

func NewFakeFirehose(validToken string) *FakeFirehose

func (*FakeFirehose) AddEvent

func (f *FakeFirehose) AddEvent(event events.Envelope)

func (*FakeFirehose) Close

func (f *FakeFirehose) Close()

func (*FakeFirehose) LastAuthorization

func (f *FakeFirehose) LastAuthorization() string

func (*FakeFirehose) Requested

func (f *FakeFirehose) Requested() bool

func (*FakeFirehose) ServeHTTP

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

func (*FakeFirehose) SetCloseMessage

func (f *FakeFirehose) SetCloseMessage(message []byte)

func (*FakeFirehose) Start

func (f *FakeFirehose) Start()

func (*FakeFirehose) URL

func (f *FakeFirehose) URL() string

Jump to

Keyboard shortcuts

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