Documentation ¶
Index ¶
Constants ¶
View Source
const SignatureHeader = "X-API-Auth-Signature"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIRequestData ¶
type APIRequestData struct { Headers map[string][]string `json:"headers,omitempty"` Body map[string]interface{} `json:"body,omitempty"` UUID string `json:"UUID,omitempty"` APIPath string `json:"APIPath,omitempty"` APIMethod string `json:"APIMethod,omitempty"` EnvID string `json:"envID,omitempty"` Status int `json:"status,omitempty"` Message string `json:"message,omitempty"` }
APIRequestData defines the properties of a API Request/Response Body sent to/from a filter
type FilterData ¶
type FilterData struct { Type string `json:"type"` Endpoint string `json:"endpoint"` SecretToken string `json:"secretToken"` Methods []string `json:"methods"` Paths []string `json:"paths"` Timeout string `json:"timeout"` }
FilterData defines the properties of a pre/post API filter
type ProxyError ¶
ProxyError structure contains the error resource definition
Click to show internal directories.
Click to hide internal directories.