Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentType ¶
type ContentType string
const ( ContentTypeRaw ContentType = "raw" ContentTypeJSON ContentType = "json" ContentTypeXML ContentType = "xml" ContentTypeCSV ContentType = "csv" ContentTypeHL7v2 ContentType = "hl7v2" ContentTypeHL7v3 ContentType = "hl7v3" ContentTypeFHIR ContentType = "fhir_r4" ContentTypeX12 ContentType = "x12" ContentTypeDICOM ContentType = "dicom" ContentTypeDelimited ContentType = "delimited" ContentTypeBinary ContentType = "binary" ContentTypeCCDA ContentType = "ccda" )
type DatabaseMeta ¶ added in v1.0.0
type Message ¶
type Message struct {
ID string
CorrelationID string
ChannelID string
Raw []byte
Transport string
ContentType ContentType
HTTP *HTTPMeta
File *FileMeta
FTP *FTPMeta
Kafka *KafkaMeta
TCP *TCPMeta
SMTP *SMTPMeta
DICOM *DICOMMeta
Database *DatabaseMeta
Metadata map[string]any
Timestamp time.Time
}
func (*Message) EnsureHTTP ¶ added in v1.0.0
EnsureHTTP initializes the HTTP meta if nil and returns it.
Click to show internal directories.
Click to hide internal directories.