Documentation
¶
Index ¶
- Constants
- func HandleByMsgType(db *database.Queries, data []byte) (string, int, error)
- func New(db *database.Queries, client HealthcareClient, debugMode bool) http.Handler
- func NewLogMsg() *logMsg
- func NewPubSubMessage(body io.Reader) (*pubSubMessage, error)
- func UpsertORM(ctx context.Context, db *database.Queries, d *hl7.Decoder) (res string, code int, err error)
- func UpsertORU(ctx context.Context, db *database.Queries, d *hl7.Decoder) (res string, code int, err error)
- type API
- type DB
- type HealthcareClient
- type Hl7Client
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 NewPubSubMessage ¶
Types ¶
type API ¶
type API struct {
DB *database.Queries
Client HealthcareClient
// contains filtered or unexported fields
}
type HealthcareClient ¶
Click to show internal directories.
Click to hide internal directories.