Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PChickError ¶
type PChickError struct {
Err error
}
func (*PChickError) Error ¶
func (err *PChickError) Error() string
func (*PChickError) MarshalCSV ¶
func (err *PChickError) MarshalCSV() (string, error)
type Result ¶
type Result struct { ProxyURL URL `csv:"proxy",json:"proxy,string"` Status bool `csv:"result",json:"result"` TargetURL url.URL `csv:"-",json:"-"` TargetStatusCode int `csv:"targetStatusCode",json:"targetStatusCode"` ProxyStatusCode int `csv:"proxyStatusCode",json:"proxyStatusCode"` RespPayload string `csv:"-",json:"-"` ProxyRespHeader http.Header `csv:"-",json:"-"` Latency Latency `csv:"latency",json:"latency"` ProxyServIPAddr net.IP `csv:"ProxyServIPAddr",json:"ProxyServIPAddr"` ProxyNodeIPAddr net.IP `csv:"ProxyNodeIPAddr",json:"ProxyNodeIPAddr"` Error PChickError `csv:"error",json:"error"` Ts time.Time `csv:"-",json:"ts"` }
func TestUDPEcho ¶
func (*Result) EnrichHTTP ¶
Enrich test Result with metadata and normilise Error text.
func (*Result) EnrichUdpEcho ¶
func (*Result) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.