Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestHTTPClient ¶
func NewTestHTTPClient(url string) *httpClient
func NewTestTCPClient ¶
func NewTestTCPClient(url string) *tcpClient
Types ¶
type Response ¶
type Response struct { Status int `json:"-"` ResponseHeader http.Header `json:"-"` Type string `json:"type,omitempty"` PodName string `json:"podName,omitempty"` Host string `json:"host,omitempty"` ServerPort string `json:"serverPort,omitempty"` Path string `json:"path,omitempty"` Method string `json:"method,omitempty"` RequestHeaders http.Header `json:"headers,omitempty"` Body string `json:"body,omitempty"` HTTPSServerName string `json:"-"` Proxy *proxyproto.Header `json:"proxy,omitempty"` Cookies []*http.Cookie `json:"cookies,omitempty"` }
Click to show internal directories.
Click to hide internal directories.