Skip to content
Snippets Groups Projects
Commit 390ae27d authored by Jonah Husson's avatar Jonah Husson
Browse files

Message changes

parent b68f1cd5
No related branches found
No related tags found
No related merge requests found
...@@ -13,14 +13,14 @@ const ( ...@@ -13,14 +13,14 @@ const (
providerBaseURI = "xx://provider" // TODO: how is this actually formed? providerBaseURI = "xx://provider" // TODO: how is this actually formed?
requestEndpoint = "requests" requestEndpoint = "requests"
appointmentEndpoint = "appointments" appointmentEndpoint = "appointments"
defaultPayload = "Provider %s has received your request privately. While they have your information, no one else does." defaultPayload = "Request received by Provider %s. You will be contacted via the xx messenger."
appointmentPayload = "Provider %s has scheduled your appointment." appointmentPayload = "Appointment Confirmed with Provider %s."
) )
// StartServer creates a provider server using the restlike API // StartServer creates a provider server using the restlike API
func StartServer(cl *xxdk.Cmix, identity xxdk.ReceptionIdentity, providerName string) (*rlConnect.Server, error) { func StartServer(cl *xxdk.Cmix, identity xxdk.ReceptionIdentity, providerName string) (*rlConnect.Server, error) {
// Start restlike server // Start restlike server
rlServer, err := rlConnect.NewServer(identity, cl, connect.GetDefaultParams()) rlServer, err := rlConnect.NewServer(identity, cl, xxdk.GetDefaultE2EParams(), connect.DefaultConnectionListParams())
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment