Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-go
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-go
Commits
948f2813
Commit
948f2813
authored
2 years ago
by
ko_oler
Browse files
Options
Downloads
Patches
Plain Diff
fix
parent
ff21cb7e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
proto/collections/collections.pb.go
+1
-1
1 addition, 1 deletion
proto/collections/collections.pb.go
proto/collections/collections_grpc.pb.go
+22
-13
22 additions, 13 deletions
proto/collections/collections_grpc.pb.go
with
23 additions
and
14 deletions
proto/collections/collections.pb.go
+
1
−
1
View file @
948f2813
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.
28.1
// protoc-gen-go v1.
30.0
// protoc v3.21.12
// source: collections/collections.proto
...
...
This diff is collapsed.
Click to expand it.
proto/collections/collections_grpc.pb.go
+
22
−
13
View file @
948f2813
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.
2
.0
// - protoc-gen-go-grpc v1.
3
.0
// - protoc v3.21.12
// source: collections/collections.proto
...
...
@@ -19,6 +19,15 @@ import (
// Requires gRPC-Go v1.32.0 or later.
const
_
=
grpc
.
SupportPackageIsVersion7
const
(
Collections_Create_FullMethodName
=
"/content.collections.Collections/Create"
Collections_Get_FullMethodName
=
"/content.collections.Collections/Get"
Collections_List_FullMethodName
=
"/content.collections.Collections/List"
Collections_Update_FullMethodName
=
"/content.collections.Collections/Update"
Collections_SetSchema_FullMethodName
=
"/content.collections.Collections/SetSchema"
Collections_Delete_FullMethodName
=
"/content.collections.Collections/Delete"
)
// CollectionsClient is the client API for Collections service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
...
...
@@ -41,7 +50,7 @@ func NewCollectionsClient(cc grpc.ClientConnInterface) CollectionsClient {
func
(
c
*
collectionsClient
)
Create
(
ctx
context
.
Context
,
in
*
CreateRequest
,
opts
...
grpc
.
CallOption
)
(
*
CreateResponse
,
error
)
{
out
:=
new
(
CreateResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.collections.Collections/Create"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Collections_Create_FullMethodName
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -50,7 +59,7 @@ func (c *collectionsClient) Create(ctx context.Context, in *CreateRequest, opts
func
(
c
*
collectionsClient
)
Get
(
ctx
context
.
Context
,
in
*
GetRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetResponse
,
error
)
{
out
:=
new
(
GetResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.collections.Collections/Get"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Collections_Get_FullMethodName
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -59,7 +68,7 @@ func (c *collectionsClient) Get(ctx context.Context, in *GetRequest, opts ...grp
func
(
c
*
collectionsClient
)
List
(
ctx
context
.
Context
,
in
*
ListRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListResponse
,
error
)
{
out
:=
new
(
ListResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.collections.
Collections
/
List
"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Collections
_
List
_FullMethodName
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -68,7 +77,7 @@ func (c *collectionsClient) List(ctx context.Context, in *ListRequest, opts ...g
func
(
c
*
collectionsClient
)
Update
(
ctx
context
.
Context
,
in
*
UpdateRequest
,
opts
...
grpc
.
CallOption
)
(
*
emptypb
.
Empty
,
error
)
{
out
:=
new
(
emptypb
.
Empty
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.collections.Collections/Update"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Collections_Update_FullMethodName
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -77,7 +86,7 @@ func (c *collectionsClient) Update(ctx context.Context, in *UpdateRequest, opts
func
(
c
*
collectionsClient
)
SetSchema
(
ctx
context
.
Context
,
in
*
SetSchemaRequest
,
opts
...
grpc
.
CallOption
)
(
*
emptypb
.
Empty
,
error
)
{
out
:=
new
(
emptypb
.
Empty
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.collections.
Collections
/
SetSchema
"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Collections
_
SetSchema
_FullMethodName
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -86,7 +95,7 @@ func (c *collectionsClient) SetSchema(ctx context.Context, in *SetSchemaRequest,
func
(
c
*
collectionsClient
)
Delete
(
ctx
context
.
Context
,
in
*
DeleteRequest
,
opts
...
grpc
.
CallOption
)
(
*
emptypb
.
Empty
,
error
)
{
out
:=
new
(
emptypb
.
Empty
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.collections.Collections/Delete"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Collections_Delete_FullMethodName
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -151,7 +160,7 @@ func _Collections_Create_Handler(srv interface{}, ctx context.Context, dec func(
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/content.collections.Collections/Create"
,
FullMethod
:
Collections_Create_FullMethodName
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
CollectionsServer
)
.
Create
(
ctx
,
req
.
(
*
CreateRequest
))
...
...
@@ -169,7 +178,7 @@ func _Collections_Get_Handler(srv interface{}, ctx context.Context, dec func(int
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/content.collections.Collections/Get"
,
FullMethod
:
Collections_Get_FullMethodName
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
CollectionsServer
)
.
Get
(
ctx
,
req
.
(
*
GetRequest
))
...
...
@@ -187,7 +196,7 @@ func _Collections_List_Handler(srv interface{}, ctx context.Context, dec func(in
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/content.collections.
Collections
/
List
"
,
FullMethod
:
Collections
_
List
_FullMethodName
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
CollectionsServer
)
.
List
(
ctx
,
req
.
(
*
ListRequest
))
...
...
@@ -205,7 +214,7 @@ func _Collections_Update_Handler(srv interface{}, ctx context.Context, dec func(
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/content.collections.Collections/Update"
,
FullMethod
:
Collections_Update_FullMethodName
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
CollectionsServer
)
.
Update
(
ctx
,
req
.
(
*
UpdateRequest
))
...
...
@@ -223,7 +232,7 @@ func _Collections_SetSchema_Handler(srv interface{}, ctx context.Context, dec fu
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/content.collections.
Collections
/
SetSchema
"
,
FullMethod
:
Collections
_
SetSchema
_FullMethodName
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
CollectionsServer
)
.
SetSchema
(
ctx
,
req
.
(
*
SetSchemaRequest
))
...
...
@@ -241,7 +250,7 @@ func _Collections_Delete_Handler(srv interface{}, ctx context.Context, dec func(
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/content.collections.Collections/Delete"
,
FullMethod
:
Collections_Delete_FullMethodName
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
CollectionsServer
)
.
Delete
(
ctx
,
req
.
(
*
DeleteRequest
))
...
...
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