-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathservice.go
More file actions
39 lines (29 loc) · 874 Bytes
/
service.go
File metadata and controls
39 lines (29 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package service
import (
"context"
"github.com/tidepool-org/platform/apple"
"github.com/tidepool-org/platform/user"
confirmationClient "github.com/tidepool-org/hydrophone/client"
"github.com/tidepool-org/platform/auth/store"
permission "github.com/tidepool-org/platform/permission"
"github.com/tidepool-org/platform/provider"
"github.com/tidepool-org/platform/service"
"github.com/tidepool-org/platform/task"
)
type Service interface {
service.Service
Domain() string
AuthStore() store.Store
UserAccessor() user.UserAccessor
PermissionsClient() permission.Client
ProviderFactory() provider.Factory
TaskClient() task.Client
ConfirmationClient() confirmationClient.ClientWithResponsesInterface
DeviceCheck() apple.DeviceCheck
Status(context.Context) *Status
}
type Status struct {
Version string
Server interface{}
AuthStore interface{}
}