Discover Packages
github.com/zerofox-oss/go-msg
decorators
base64
package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Nov 6, 2023
License: BSD-3-Clause-Clear
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Decoder(next msg.Receiver) msg.Receiver
Decoder wraps a msg.Receiver with base64 decoding functionality.
It only attempts to decode the Message.Body if Content-Transfer-Encoding
is set to base64.
func Encoder(next msg.Topic) msg.Topic
Encoder wraps a topic with another which base64-encodes a Message.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.