Documentation
¶
Index ¶
- Variables
- func InitializeAppointmentsServer(settings *services.Settings) (*servers.Appointments, error)
- func InitializeDatabase(settings *services.Settings) (services.Database, error)
- func InitializeMeter(settings *services.Settings) (services.Meter, error)
- func InitializeMetricsServer(settings *services.Settings) (*metrics.PrometheusMetricsServer, error)
- func InitializeStorageServer(settings *services.Settings) (*servers.Storage, error)
- func RealSettingsPaths() ([]string, error)
- func Settings(settingsPaths []string, fs fs.FS, definitions *services.Definitions) (*services.Settings, error)
- func SettingsPaths() ([]string, fs.FS, error)
- type AppointmentsClient
- func (a *AppointmentsClient) AddCodes(params *services.AddCodesParams) (*Response, error)
- func (a *AppointmentsClient) AddMediatorPublicKeys(mediator *crypto.Actor) (*Response, error)
- func (a *AppointmentsClient) BookAppointment(params interface{}) (*Response, error)
- func (a *AppointmentsClient) CancelAppointment(params interface{}) (*Response, error)
- func (a *AppointmentsClient) CheckProviderData(provider *Provider) (*Response, error)
- func (a *AppointmentsClient) ConfirmProvider(provider *Provider, mediator *crypto.Actor) (*Response, error)
- func (a *AppointmentsClient) GetAppointmentsByZipCode(params *services.GetAppointmentsByZipCodeParams) (*Response, error)
- func (a *AppointmentsClient) GetKeys() (*Response, error)
- func (a *AppointmentsClient) GetPendingProviderData(params interface{}) (*Response, error)
- func (a *AppointmentsClient) GetProviderAppointments(params *services.GetProviderAppointmentsParams) (*Response, error)
- func (a *AppointmentsClient) GetStats(params *services.GetStatsParams) (*Response, error)
- func (a *AppointmentsClient) GetToken(params interface{}) (*Response, error)
- func (a *AppointmentsClient) GetVerifiedProviderData(params interface{}) (*Response, error)
- func (a *AppointmentsClient) PublishAppointments(params *services.PublishAppointmentsParams, provider *Provider) (*Response, error)
- func (a *AppointmentsClient) ResetDB() (*Response, error)
- func (a *AppointmentsClient) StoreProviderData(provider *Provider) (*Response, error)
- func (a *AppointmentsClient) UploadDistances(params *services.UploadDistancesParams) (*Response, error)
- type Client
- type ConfirmProviderData
- type Provider
- type PublicKeys
- type Requester
- type Response
- type StorageClient
Constants ¶
This section is empty.
Variables ¶
View Source
var EnvSettingsName = "KIEBITZ_SETTINGS"
Functions ¶
func InitializeAppointmentsServer ¶
func InitializeAppointmentsServer(settings *services.Settings) (*servers.Appointments, error)
func InitializeDatabase ¶
func InitializeDatabase(settings *services.Settings) (services.Database, error)
func InitializeMeter ¶
func InitializeMeter(settings *services.Settings) (services.Meter, error)
func InitializeMetricsServer ¶
func InitializeMetricsServer(settings *services.Settings) (*metrics.PrometheusMetricsServer, error)
func InitializeStorageServer ¶
func RealSettingsPaths ¶
Types ¶
type AppointmentsClient ¶
type AppointmentsClient struct {
// contains filtered or unexported fields
}
func MakeAppointmentsClient ¶
func MakeAppointmentsClient(settings *services.Settings, client *http.Client) *AppointmentsClient
func (*AppointmentsClient) AddCodes ¶
func (a *AppointmentsClient) AddCodes(params *services.AddCodesParams) (*Response, error)
func (*AppointmentsClient) AddMediatorPublicKeys ¶
func (a *AppointmentsClient) AddMediatorPublicKeys(mediator *crypto.Actor) (*Response, error)
func (*AppointmentsClient) BookAppointment ¶
func (a *AppointmentsClient) BookAppointment(params interface{}) (*Response, error)
func (*AppointmentsClient) CancelAppointment ¶
func (a *AppointmentsClient) CancelAppointment(params interface{}) (*Response, error)
func (*AppointmentsClient) CheckProviderData ¶
func (a *AppointmentsClient) CheckProviderData(provider *Provider) (*Response, error)
func (*AppointmentsClient) ConfirmProvider ¶
func (*AppointmentsClient) GetAppointmentsByZipCode ¶
func (a *AppointmentsClient) GetAppointmentsByZipCode(params *services.GetAppointmentsByZipCodeParams) (*Response, error)
func (*AppointmentsClient) GetKeys ¶
func (a *AppointmentsClient) GetKeys() (*Response, error)
func (*AppointmentsClient) GetPendingProviderData ¶
func (a *AppointmentsClient) GetPendingProviderData(params interface{}) (*Response, error)
func (*AppointmentsClient) GetProviderAppointments ¶
func (a *AppointmentsClient) GetProviderAppointments(params *services.GetProviderAppointmentsParams) (*Response, error)
func (*AppointmentsClient) GetStats ¶
func (a *AppointmentsClient) GetStats(params *services.GetStatsParams) (*Response, error)
func (*AppointmentsClient) GetToken ¶
func (a *AppointmentsClient) GetToken(params interface{}) (*Response, error)
func (*AppointmentsClient) GetVerifiedProviderData ¶
func (a *AppointmentsClient) GetVerifiedProviderData(params interface{}) (*Response, error)
func (*AppointmentsClient) PublishAppointments ¶
func (a *AppointmentsClient) PublishAppointments(params *services.PublishAppointmentsParams, provider *Provider) (*Response, error)
func (*AppointmentsClient) ResetDB ¶
func (a *AppointmentsClient) ResetDB() (*Response, error)
func (*AppointmentsClient) StoreProviderData ¶
func (a *AppointmentsClient) StoreProviderData(provider *Provider) (*Response, error)
func (*AppointmentsClient) UploadDistances ¶
func (a *AppointmentsClient) UploadDistances(params *services.UploadDistancesParams) (*Response, error)
type Client ¶
type Client struct { Storage *StorageClient Appointments *AppointmentsClient // contains filtered or unexported fields }
func MakeClient ¶
func MakeClient(settings *services.Settings) *Client
type ConfirmProviderData ¶
type ConfirmProviderData struct { Data *services.ProviderData `json:"data"` PublicKeys *PublicKeys `json:"publicKeys"` }
type PublicKeys ¶
type StorageClient ¶
type StorageClient struct {
// contains filtered or unexported fields
}
func MakeStorageClient ¶
func MakeStorageClient(settings *services.Settings, client *http.Client) *StorageClient
func (*StorageClient) ResetDB ¶
func (a *StorageClient) ResetDB() (*Response, error)
Click to show internal directories.
Click to hide internal directories.