Documentation ¶
Index ¶
- type HealthHandler
- type HoverflyMetadata
- type MessageResponse
- type MetadataHandler
- func (this *MetadataHandler) Delete(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
- func (this *MetadataHandler) Get(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
- func (this *MetadataHandler) Put(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
- func (this *MetadataHandler) RegisterRoutes(mux *bone.Mux, am *handlers.AuthHandler)
- type ResponseDelayPayloadView
- type ResponseDelayView
- type SetMetadata
- type StoredMetadata
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 HoverflyMetadata ¶
type MessageResponse ¶
type MessageResponse struct {
Message string `json:"message"`
}
func (*MessageResponse) Encode ¶
func (m *MessageResponse) Encode() ([]byte, error)
type MetadataHandler ¶
type MetadataHandler struct {
Hoverfly HoverflyMetadata
}
func (*MetadataHandler) Delete ¶
func (this *MetadataHandler) Delete(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
func (*MetadataHandler) Get ¶
func (this *MetadataHandler) Get(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
AllMetadataHandler returns JSON content type http response
func (*MetadataHandler) Put ¶
func (this *MetadataHandler) Put(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
func (*MetadataHandler) RegisterRoutes ¶
func (this *MetadataHandler) RegisterRoutes(mux *bone.Mux, am *handlers.AuthHandler)
type ResponseDelayPayloadView ¶
type ResponseDelayPayloadView struct {
Data []ResponseDelayView `json:"data"`
}
type ResponseDelayView ¶
type SetMetadata ¶
type StoredMetadata ¶
recordedRequests struct encapsulates payload data
Click to show internal directories.
Click to hide internal directories.