Documentation ¶
Overview ¶
Package header contains functionality to generate headers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { Header *config.Header MsgCtrlGen *MessageControlGenerator }
Generator is a generator of headers.
type MessageControlGenerator ¶
type MessageControlGenerator struct {
// contains filtered or unexported fields
}
MessageControlGenerator is a generator of Message Control IDs.
func (*MessageControlGenerator) NewMessageControlID ¶
func (g *MessageControlGenerator) NewMessageControlID() string
NewMessageControlID returns a unique Message Control ID to use in the MSH.10 Message Control ID field (type ST). The IDs are incremental integer numbers starting with 1 - this is an easy way of generating unique values. NewMessageControlID is safe for concurrent use.
Click to show internal directories.
Click to hide internal directories.