mllp

package
v0.0.0-...-f59421f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mllp contains functionality for encoding and decoding HL7 messages for transmission using the MLLP protocol. See here for the specification: http://www.hl7.org/documentcenter/public_temp_670395EE-1C23-BA17-0CD218684D5B3C71/wg/inm/mllp_transport_specification.PDF

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadMsg

func ReadMsg(reader io.Reader) ([]byte, error)

ReadMsg reads a message from reader and removes the start block, end block, and carriage return bytes.

func WriteMsg

func WriteMsg(writer io.Writer, msg []byte) error

WriteMsg wraps an HL7 message in the start block, end block, and carriage return bytes required for MLLP transmission and then writes the wrapped message to writer.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL