Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Encoding ¶
func Base64Encoding(encoding *base64.Encoding) transport.Middleware
Base64Encoding represents a middleware encoding the request passed to it with Base64 encoding and decoding the response from the wrapped transport from Base64. If the wrapped Transport returns an error, the error will be passed as is without any transformation applied.
func Logging ¶
func Logging(logger *log.Logger, cryptoProvider message.CryptoProvider) transport.Middleware
Logging creates a middleware that logs every request and response sent over the transport
func UTF8Encoding ¶
func UTF8Encoding(encoding encoding.Encoding) transport.Middleware
UTF8Encoding represents a middleware encoding the request passed to it with the provided UTF8 encoding and decoding the response from the wrapped transport from the provided encoding into UTF8. If the wrapped Transport returns an error, the error will be passed as is without any transformation applied.
Types ¶
This section is empty.