Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransportHTTPLogger ¶
func NewTransportHTTPLogger( logger *logger.Logger, transportType TransportHTTPLoggerType, ) http.RoundTripper
NewTransportHTTPLogger get http.RoundTripper.
Types ¶
type TransportHTTPLogger ¶
type TransportHTTPLogger struct { http.RoundTripper Type TransportHTTPLoggerType // contains filtered or unexported fields }
TransportHTTPLogger struct.
type TransportHTTPLoggerType ¶
type TransportHTTPLoggerType string
TransportHTTPLoggerType defines the transport type.
const ( // TransportHTTPLoggerTypeExternal defines the external type. TransportHTTPLoggerTypeExternal TransportHTTPLoggerType = "external" // TransportHTTPLoggerTypeInternal defines the internal type. TransportHTTPLoggerTypeInternal TransportHTTPLoggerType = "internal" )
Click to show internal directories.
Click to hide internal directories.