Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransportHTTPLogger ¶
func NewTransportHTTPLogger( entry *logrus.Entry, transportType TransportHTTPLoggerType, ) http.RoundTripper
NewTransportHTTPLogger get http.RoundTripper.
Types ¶
type TransportHTTPLogger ¶
type TransportHTTPLogger struct { http.RoundTripper Entry *logrus.Entry Type TransportHTTPLoggerType }
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.