Discover Packages
github.com/Yangfisher1/ce-go-sdk/v2
event
datacodec
xml
package
Version:
v2.0.0-...-87fb6e7
Opens a new window with list of versions in this module.
Published: Apr 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package xml holds the encoder/decoder implementation for `application/xml`.
Decode takes `in` as []byte.
If Event sent the payload as base64, Decoder assumes that `in` is the
decoded base64 byte array.
Encode attempts to xml.Marshal `in` into bytes. Encode will inspect `in`
and returns `in` unmodified if it is detected that `in` is already a []byte;
Or xml.Marshal errors.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.