Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
provider
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
archives
Shielded Help Demo
provider
Commits
390ae27d
Commit
390ae27d
authored
2 years ago
by
Jonah Husson
Browse files
Options
Downloads
Patches
Plain Diff
Message changes
parent
b68f1cd5
Branches
master
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
provider/server.go
+3
-3
3 additions, 3 deletions
provider/server.go
with
3 additions
and
3 deletions
provider/server.go
+
3
−
3
View file @
390ae27d
...
...
@@ -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
.
Get
DefaultParams
())
rlServer
,
err
:=
rlConnect
.
NewServer
(
identity
,
cl
,
xxdk
.
GetDefaultE2EParams
(),
connect
.
Default
ConnectionList
Params
())
if
err
!=
nil
{
return
nil
,
err
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment