mllpreceiver

package
v0.0.0-...-8b49249 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Overview

Package mllpreceiver receives HL7 messages over MLLP and forwards them to a sender.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MLLPReceiver

type MLLPReceiver struct {
	// contains filtered or unexported fields
}

MLLPReceiver represents an MLLP receiver.

func NewReceiver

func NewReceiver(ip string, port int, sender sender, mt monitoring.Client) (*MLLPReceiver, error)

NewReceiver creates a new MLLP receiver. If port is 0, an available port is chosen at random.

func (*MLLPReceiver) Run

func (m *MLLPReceiver) Run() error

Run starts listening for incoming TCP connections. Only returns in case of an error.

Jump to

Keyboard shortcuts

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