Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentBodyParser ¶
type ContentBodyParser interface {
// contains filtered or unexported methods
}
ContentBodyParser parses the body of native content
func NewContentBodyParser ¶
func NewContentBodyParser(uuidJSONPaths []string) ContentBodyParser
NewContentBodyParser returns a new instace of a ContentBodyParser
type NativeMessage ¶
type NativeMessage struct {
// contains filtered or unexported fields
}
NativeMessage is the message accepted by the native writer
func NewNativeMessage ¶
func NewNativeMessage(contentBody string, timestamp string, transactionID string) (NativeMessage, error)
NewNativeMessage returns a new instance of a NativeMessage
func (*NativeMessage) AddHashHeader ¶
func (msg *NativeMessage) AddHashHeader(hash string)
AddHashHeader adds the hash of the native content as a header
Click to show internal directories.
Click to hide internal directories.