Documentation
¶
Index ¶
- Constants
- func HandleByMsgType(db Repository, msgType string, msgMap hl7.Message) (msg string, err error)
- func New(db Repository, client HealthcareClient, debugMode bool) http.Handler
- func NewLogMsg() *logMsg
- func NewPubSubMessage(body io.Reader) (*pubSubMessage, error)
- type API
- type DB
- type HealthcareClient
- type Hl7Client
- type Repository
Constants ¶
View Source
const ( SUCCESS = "success" CLIENT_ERROR = "client error" SERVER_ERROR = "server error" PANIC_ERROR = "panic recovered" )
Variables ¶
This section is empty.
Functions ¶
func HandleByMsgType ¶
func New ¶
func New(db Repository, client HealthcareClient, debugMode bool) http.Handler
func NewPubSubMessage ¶
Types ¶
type API ¶
type API struct {
DB Repository
Client HealthcareClient
// contains filtered or unexported fields
}
type HealthcareClient ¶
Click to show internal directories.
Click to hide internal directories.