Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
46be6b0f
Commit
46be6b0f
authored
May 26, 2025
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: missing service handler
parent
b89d8f53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
v1.go
server/router/api/v1/v1.go
+5
-0
No files found.
server/router/api/v1/v1.go
View file @
46be6b0f
...
@@ -28,6 +28,7 @@ type APIV1Service struct {
...
@@ -28,6 +28,7 @@ type APIV1Service struct {
v1pb
.
UnimplementedUserServiceServer
v1pb
.
UnimplementedUserServiceServer
v1pb
.
UnimplementedMemoServiceServer
v1pb
.
UnimplementedMemoServiceServer
v1pb
.
UnimplementedResourceServiceServer
v1pb
.
UnimplementedResourceServiceServer
v1pb
.
UnimplementedShortcutServiceServer
v1pb
.
UnimplementedInboxServiceServer
v1pb
.
UnimplementedInboxServiceServer
v1pb
.
UnimplementedActivityServiceServer
v1pb
.
UnimplementedActivityServiceServer
v1pb
.
UnimplementedWebhookServiceServer
v1pb
.
UnimplementedWebhookServiceServer
...
@@ -56,6 +57,7 @@ func NewAPIV1Service(secret string, profile *profile.Profile, store *store.Store
...
@@ -56,6 +57,7 @@ func NewAPIV1Service(secret string, profile *profile.Profile, store *store.Store
v1pb
.
RegisterUserServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterUserServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterMemoServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterMemoServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterResourceServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterResourceServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterShortcutServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterInboxServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterInboxServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterActivityServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterActivityServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterWebhookServiceServer
(
grpcServer
,
apiv1Service
)
v1pb
.
RegisterWebhookServiceServer
(
grpcServer
,
apiv1Service
)
...
@@ -101,6 +103,9 @@ func (s *APIV1Service) RegisterGateway(ctx context.Context, echoServer *echo.Ech
...
@@ -101,6 +103,9 @@ func (s *APIV1Service) RegisterGateway(ctx context.Context, echoServer *echo.Ech
if
err
:=
v1pb
.
RegisterResourceServiceHandler
(
ctx
,
gwMux
,
conn
);
err
!=
nil
{
if
err
:=
v1pb
.
RegisterResourceServiceHandler
(
ctx
,
gwMux
,
conn
);
err
!=
nil
{
return
err
return
err
}
}
if
err
:=
v1pb
.
RegisterShortcutServiceHandler
(
ctx
,
gwMux
,
conn
);
err
!=
nil
{
return
err
}
if
err
:=
v1pb
.
RegisterInboxServiceHandler
(
ctx
,
gwMux
,
conn
);
err
!=
nil
{
if
err
:=
v1pb
.
RegisterInboxServiceHandler
(
ctx
,
gwMux
,
conn
);
err
!=
nil
{
return
err
return
err
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment