Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ContextHTTPMethod is the context key for the HTTP method. ContextHTTPMethod = ContextKey{ Name: "http.method", } // ContextHTTPURL is the context key for the HTTP URL. ContextHTTPURL = ContextKey{ Name: "http.url", } // ContextHTTPBody is the context key for the HTTP body. ContextHTTPBody = ContextKey{ Name: "http.body", } ContextSharedJar = ContextKey{ Name: "http.sharedjar", } // ContextHTTPHeaders is the context key for the HTTP headers. ContextHTTPHeaders = ContextKey{ Name: "http.headers", } // ContextHTTPResponse is the context key for the HTTP response. ContextHTTPResponse = ContextKey{ Name: "http.response", } // ContextHTTPConnInfo is the context key for the HTTP connection info. ContextHTTPConnInfo = ContextKey{ Name: "http.conninfo", } // ContextHTTPDNSStartInfo is the context key for the HTTP DNS start info. ContextHTTPDNSStartInfo = ContextKey{ Name: "http.dnsstartinfo", } // ContextHTTPDNSStartTime is the context key for the HTTP DNS start time. ContextHTTPDNSStartTime = ContextKey{ Name: "http.dnsstarttime", } // ContextHTTPDNSStopTime is the context key for the HTTP DNS stop time. ContextHTTPDNSStopTime = ContextKey{ Name: "http.dnsstoptime", } // ContextHTTPTcpConnectStartTime is the context key for the HTTP TCP connect start time. ContextHTTPTcpConnectStartTime = ContextKey{ Name: "http.tcpconnectstarttime", } // ContextHTTPTcpConnectStopTime is the context key for the HTTP TCP connect stop time. ContextHTTPTcpConnectStopTime = ContextKey{ Name: "http.tcpconnectstoptime", } // ContextHTTPTlsHandshakeStartTime is the context key for the HTTP TLS handshake start time. ContextHTTPTlsHandshakeStartTime = ContextKey{ Name: "http.tlshandshakestarttime", } // ContextHTTPTlsHandshakeStopTime is the context key for the HTTP TLS handshake stop time. ContextHTTPTlsHandshakeStopTime = ContextKey{ Name: "http.tlshandshakestoptime", } // ContextHTTPDNSDoneInfo is the context key for the HTTP DNS done info. ContextHTTPDNSDoneInfo = ContextKey{ Name: "http.dnsdoneinfo", } // ContextHTTPTlsInsecureSkipVerify is the context key for the HTTP TLS insecure skip verify. ContextHTTPTlsInsecureSkipVerify = ContextKey{ Name: "http.tlsinsecureskipverify", } // ContextHTTPForceIP is the context key for the HTTP force IP. ContextHTTPForceIP = ContextKey{ Name: "http.forceip", } // ContextHTTPNetwork is the context key for the HTTP network. ContextHTTPNetwork = ContextKey{ Name: "http.network", } // ContextHTTPAddr is the context key for the HTTP address. ContextHTTPAddr = ContextKey{ Name: "http.addr", } // ContextDNSInfo is the context key for the DNS info. ContextDNSInfo = ContextKey{ Name: "dns.info", } // ContextFTPConnection is the context key for the FTP connection. ContextFTPConnection = ContextKey{ Name: "ftp.connection", } // ContextFTPHost is the context key for the FTP host. ContextFTPHost = ContextKey{ Name: "ftp.host", } // ContextTCPConnection is the context key for the TCP connection. ContextTCPConnection = ContextKey{ Name: "tcp.connection", } // ContextUDPConnection is the context key for the TCP connection. ContextUDPConnection = ContextKey{ Name: "udp.connection", } // ContextTLSConnection is the context key for the TLS connection. ContextTLSConnection = ContextKey{ Name: "tls.connection", } // ContextTLSHost is the context key for the TLS host. ContextTLSHost = ContextKey{ Name: "tls.host", } // ContextTLSCertificates is the context key for the TLS certificates. ContextTLSCertificates = ContextKey{ Name: "tls.certificates", } // ContextOutput is the context key for the output. ContextOutput = ContextKey{ Name: "output", } // ContextConnectionIP is the context key for the connection IP. ContextConnectionIP = ContextKey{ Name: "connection.ip", } // ContextAttachment is the context key for the attachment. ContextAttachment = ContextKey{ Name: "attachment", } // LastError is the context key for the last error. LastError = ContextKey{ Name: "last.error", } // ContextTimeout is the context key for the timeout. ContextTimeout = ContextKey{ Name: "timeout", } // ContextHTTPClient is the context key for the HTTP client. ContextHTTPClient = ContextKey{ Name: "http.client", } // ContextBrowserChromedpCtx is the context key for the browser chromedp context. ContextBrowserChromedpCtx = ContextKey{ Name: "browser.chromedpctx", } // ContextBrowserChromedpCancel is the context key for the browser chromedp cancel. ContextBrowserChromedpCancel = ContextKey{ Name: "browser.chromedpcancel", } // ContextBrowserChromedpTimeoutCancel is the context key for the browser chromedp cancel. ContextBrowserChromedpCancelTimeout = ContextKey{ Name: "browser.chromedptimeoutcancel", } )
View Source
var Branch = "n/a"
View Source
var BuildDate = "n/a"
View Source
var Commit = "n/a"
View Source
var Version = "dev"
Functions ¶
This section is empty.
Types ¶
type ContextKey ¶
type ContextKey struct { // Name is the name of the context key. Name string }
ContextKey represents a context key.
func (*ContextKey) String ¶
func (c *ContextKey) String() string
Click to show internal directories.
Click to hide internal directories.