v1

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2017 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 HealthHandler

type HealthHandler struct{}

func (*HealthHandler) Get

func (this *HealthHandler) Get(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)

func (*HealthHandler) RegisterRoutes

func (this *HealthHandler) RegisterRoutes(mux *bone.Mux, am *handlers.AuthHandler)

type MessageResponse

type MessageResponse struct {
	Message string `json:"message"`
}

func (*MessageResponse) Encode

func (m *MessageResponse) Encode() ([]byte, error)

type ResponseDelayPayloadView

type ResponseDelayPayloadView struct {
	Data []ResponseDelayView `json:"data"`
}

type ResponseDelayView

type ResponseDelayView struct {
	UrlPattern string `json:"urlPattern"`
	HttpMethod string `json:"httpMethod"`
	Delay      int    `json:"delay"`
}

type SetMetadata

type SetMetadata struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type StoredMetadata

type StoredMetadata struct {
	Data map[string]string `json:"data"`
}

recordedRequests struct encapsulates payload data

Jump to

Keyboard shortcuts

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