Documentation ¶
Index ¶
- type FakeLogStream
- func (f *FakeLogStream) AddEvent(event *loggregator_v2.Envelope)
- func (f *FakeLogStream) Close()
- func (f *FakeLogStream) LastAuthorization() string
- func (f *FakeLogStream) Requested() bool
- func (f *FakeLogStream) ServeHTTP(rw http.ResponseWriter, r *http.Request)
- func (f *FakeLogStream) Start()
- func (f *FakeLogStream) URL() string
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
Click to show internal directories.
Click to hide internal directories.