backend

package
v3.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 23, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

func NewBackend

func NewBackend() *Backend

func (*Backend) ResetAll

func (b *Backend) ResetAll()

func (*Backend) ResetVersion

func (b *Backend) ResetVersion()

func (*Backend) ServeHTTP

func (b *Backend) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Backend) ServerURL

func (b *Backend) ServerURL() string

func (*Backend) SetFakeBOSHServer

func (b *Backend) SetFakeBOSHServer(url string)

func (*Backend) SetFastFail

func (b *Backend) SetFastFail(fastFail bool)

func (*Backend) SetHandler

func (b *Backend) SetHandler(f func(w http.ResponseWriter, r *http.Request))

func (*Backend) SetOutputJsonReturnError

func (b *Backend) SetOutputJsonReturnError(errorOut bool)

func (*Backend) SetVersion

func (b *Backend) SetVersion(version string)

Jump to

Keyboard shortcuts

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