Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteEndpoint ¶
DeleteEndpoint in configuration
Types ¶
type Endpoint ¶
type Endpoint struct {
Path string `json:"path"`
Method string `json:"method"`
ResponseBody json.RawMessage `json:"response_body"`
StringBody string `json:"string_body"`
ContentType string `json:"content_type"`
Response int `json:"response"`
Header map[string]string `json:"header"`
Name string `json:"-"`
ReplyDelay int `json:"reply_delay"`
}
Endpoint configuration
func GetEndpoint ¶
GetEndpoint with given ID
Click to show internal directories.
Click to hide internal directories.