Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MessageEncodingFormatsString is the string representation of all message encoding formats. // // This does not include deprecated formats. MessageEncodingFormatsString = stringutil.SliceToString(messageEncodingFormats) )
Functions ¶
This section is empty.
Types ¶
type MessageEncoding ¶
type MessageEncoding int
MessageEncoding is the encoding of the message
const ( // MessageEncodingBin is the binary image encoding. MessageEncodingBin MessageEncoding = iota + 1 // MessageEncodingJSON is the JSON image encoding. MessageEncodingJSON )
type MessageEncodingRef ¶
type MessageEncodingRef interface { Path() string MessageEncoding() MessageEncoding }
MessageEncodingRef is a message encoding file reference.
func NewMessageEncodingRef ¶
func NewMessageEncodingRef( ctx context.Context, value string, defaultEncoding MessageEncoding, ) (MessageEncodingRef, error)
NewMessageEncodingRef returns a new MessageEncodingRef.
Click to show internal directories.
Click to hide internal directories.