package
2.0.1
Repository: https://github.com/mdblp/go-common.git
Documentation: pkg.go.dev

# Functions

NewClient create a new portal-api client.
NewClientFromEnv create a new portal-api client using PORTAL_HOST environnement variable.
NewMock create a new portal mock client.

# Structs

Client used to store infos for this API.
MockClient The mocked interface to portal-api.
PatientCGMInfo is the Continuous Glucose Monitoring device information.
PatientConfig structure returned by the API.
PatientConfigDevice sub-structure of PatientConfig which old the device information.
PatientConfigParameters sub-structure of PatientConfig.
PatientParameter is a single parameter for a patient.
PatientPumpInfo insulin pump device information.

# Interfaces

API is the interface to portal-api.