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

Message changes

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