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
a55bacda
Commit
a55bacda
authored
2 years ago
by
Valera Shaitorov
Browse files
Options
Downloads
Patches
Plain Diff
Обновлены proto файлы после добавления поля UpdatedAttrs в опции распубликации и удалении записи
parent
780614db
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
perxis-proto
+1
-1
1 addition, 1 deletion
perxis-proto
proto/items/items.pb.go
+690
-631
690 additions, 631 deletions
proto/items/items.pb.go
proto/items/items_grpc.pb.go
+48
-77
48 additions, 77 deletions
proto/items/items_grpc.pb.go
with
739 additions
and
709 deletions
perxis-proto
@
05599182
Compare
d9fd1b73
...
05599182
Subproject commit
d9fd1b7382944ef12019bcab1ad00334d9b90a88
Subproject commit
05599182af253b283211ba757e2a951085646ed6
This diff is collapsed.
Click to expand it.
proto/items/items.pb.go
+
690
−
631
View file @
a55bacda
This diff is collapsed.
Click to expand it.
proto/items/items_grpc.pb.go
+
48
−
77
View file @
a55bacda
//*
// # Items
//
// API Сервиса работы с пользовательским записями (Items)
//
// Предоставляет доступ к записям пользовательских коллекций
//
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.3.0
...
...
@@ -27,27 +19,6 @@ import (
// Requires gRPC-Go v1.32.0 or later.
const
_
=
grpc
.
SupportPackageIsVersion7
const
(
Items_Create_FullMethodName
=
"/content.items.Items/Create"
Items_Introspect_FullMethodName
=
"/content.items.Items/Introspect"
Items_Get_FullMethodName
=
"/content.items.Items/Get"
Items_Find_FullMethodName
=
"/content.items.Items/Find"
Items_Update_FullMethodName
=
"/content.items.Items/Update"
Items_Delete_FullMethodName
=
"/content.items.Items/Delete"
Items_Undelete_FullMethodName
=
"/content.items.Items/Undelete"
Items_Publish_FullMethodName
=
"/content.items.Items/Publish"
Items_Unpublish_FullMethodName
=
"/content.items.Items/Unpublish"
Items_GetPublished_FullMethodName
=
"/content.items.Items/GetPublished"
Items_FindPublished_FullMethodName
=
"/content.items.Items/FindPublished"
Items_Aggregate_FullMethodName
=
"/content.items.Items/Aggregate"
Items_AggregatePublished_FullMethodName
=
"/content.items.Items/AggregatePublished"
Items_GetRevision_FullMethodName
=
"/content.items.Items/GetRevision"
Items_ListRevisions_FullMethodName
=
"/content.items.Items/ListRevisions"
Items_Archive_FullMethodName
=
"/content.items.Items/Archive"
Items_FindArchived_FullMethodName
=
"/content.items.Items/FindArchived"
Items_Unarchive_FullMethodName
=
"/content.items.Items/Unarchive"
)
// ItemsClient is the client API for Items 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.
...
...
@@ -94,7 +65,7 @@ func NewItemsClient(cc grpc.ClientConnInterface) ItemsClient {
func
(
c
*
itemsClient
)
Create
(
ctx
context
.
Context
,
in
*
CreateRequest
,
opts
...
grpc
.
CallOption
)
(
*
CreateResponse
,
error
)
{
out
:=
new
(
CreateResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Create
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Create
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -103,7 +74,7 @@ func (c *itemsClient) Create(ctx context.Context, in *CreateRequest, opts ...grp
func
(
c
*
itemsClient
)
Introspect
(
ctx
context
.
Context
,
in
*
IntrospectRequest
,
opts
...
grpc
.
CallOption
)
(
*
IntrospectResponse
,
error
)
{
out
:=
new
(
IntrospectResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Introspect
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Introspect
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -112,7 +83,7 @@ func (c *itemsClient) Introspect(ctx context.Context, in *IntrospectRequest, opt
func
(
c
*
itemsClient
)
Get
(
ctx
context
.
Context
,
in
*
GetRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetResponse
,
error
)
{
out
:=
new
(
GetResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items_Get_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.Items/Get"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -121,7 +92,7 @@ func (c *itemsClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.Call
func
(
c
*
itemsClient
)
Find
(
ctx
context
.
Context
,
in
*
FindRequest
,
opts
...
grpc
.
CallOption
)
(
*
FindResponse
,
error
)
{
out
:=
new
(
FindResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Find
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Find
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -130,7 +101,7 @@ func (c *itemsClient) Find(ctx context.Context, in *FindRequest, opts ...grpc.Ca
func
(
c
*
itemsClient
)
Update
(
ctx
context
.
Context
,
in
*
UpdateRequest
,
opts
...
grpc
.
CallOption
)
(
*
emptypb
.
Empty
,
error
)
{
out
:=
new
(
emptypb
.
Empty
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Update
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Update
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -139,7 +110,7 @@ func (c *itemsClient) Update(ctx context.Context, in *UpdateRequest, opts ...grp
func
(
c
*
itemsClient
)
Delete
(
ctx
context
.
Context
,
in
*
DeleteRequest
,
opts
...
grpc
.
CallOption
)
(
*
emptypb
.
Empty
,
error
)
{
out
:=
new
(
emptypb
.
Empty
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Delete
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Delete
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -148,7 +119,7 @@ func (c *itemsClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grp
func
(
c
*
itemsClient
)
Undelete
(
ctx
context
.
Context
,
in
*
UndeleteRequest
,
opts
...
grpc
.
CallOption
)
(
*
emptypb
.
Empty
,
error
)
{
out
:=
new
(
emptypb
.
Empty
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Undelete
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Undelete
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -157,7 +128,7 @@ func (c *itemsClient) Undelete(ctx context.Context, in *UndeleteRequest, opts ..
func
(
c
*
itemsClient
)
Publish
(
ctx
context
.
Context
,
in
*
PublishRequest
,
opts
...
grpc
.
CallOption
)
(
*
emptypb
.
Empty
,
error
)
{
out
:=
new
(
emptypb
.
Empty
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Publish
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Publish
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -166,7 +137,7 @@ func (c *itemsClient) Publish(ctx context.Context, in *PublishRequest, opts ...g
func
(
c
*
itemsClient
)
Unpublish
(
ctx
context
.
Context
,
in
*
UnpublishRequest
,
opts
...
grpc
.
CallOption
)
(
*
emptypb
.
Empty
,
error
)
{
out
:=
new
(
emptypb
.
Empty
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Unpublish
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Unpublish
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -175,7 +146,7 @@ func (c *itemsClient) Unpublish(ctx context.Context, in *UnpublishRequest, opts
func
(
c
*
itemsClient
)
GetPublished
(
ctx
context
.
Context
,
in
*
GetPublishedRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetPublishedResponse
,
error
)
{
out
:=
new
(
GetPublishedResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
GetPublished
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
GetPublished
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -184,7 +155,7 @@ func (c *itemsClient) GetPublished(ctx context.Context, in *GetPublishedRequest,
func
(
c
*
itemsClient
)
FindPublished
(
ctx
context
.
Context
,
in
*
FindPublishedRequest
,
opts
...
grpc
.
CallOption
)
(
*
FindPublishedResponse
,
error
)
{
out
:=
new
(
FindPublishedResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
FindPublished
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
FindPublished
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -193,7 +164,7 @@ func (c *itemsClient) FindPublished(ctx context.Context, in *FindPublishedReques
func
(
c
*
itemsClient
)
Aggregate
(
ctx
context
.
Context
,
in
*
AggregateRequest
,
opts
...
grpc
.
CallOption
)
(
*
AggregateResponse
,
error
)
{
out
:=
new
(
AggregateResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Aggregate
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Aggregate
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -202,7 +173,7 @@ func (c *itemsClient) Aggregate(ctx context.Context, in *AggregateRequest, opts
func
(
c
*
itemsClient
)
AggregatePublished
(
ctx
context
.
Context
,
in
*
AggregatePublishedRequest
,
opts
...
grpc
.
CallOption
)
(
*
AggregatePublishedResponse
,
error
)
{
out
:=
new
(
AggregatePublishedResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
AggregatePublished
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
AggregatePublished
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -211,7 +182,7 @@ func (c *itemsClient) AggregatePublished(ctx context.Context, in *AggregatePubli
func
(
c
*
itemsClient
)
GetRevision
(
ctx
context
.
Context
,
in
*
GetRevisionRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetRevisionResponse
,
error
)
{
out
:=
new
(
GetRevisionResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
GetRevision
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
GetRevision
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -220,7 +191,7 @@ func (c *itemsClient) GetRevision(ctx context.Context, in *GetRevisionRequest, o
func
(
c
*
itemsClient
)
ListRevisions
(
ctx
context
.
Context
,
in
*
ListRevisionsRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListRevisionsResponse
,
error
)
{
out
:=
new
(
ListRevisionsResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
ListRevisions
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
ListRevisions
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -229,7 +200,7 @@ func (c *itemsClient) ListRevisions(ctx context.Context, in *ListRevisionsReques
func
(
c
*
itemsClient
)
Archive
(
ctx
context
.
Context
,
in
*
ArchiveRequest
,
opts
...
grpc
.
CallOption
)
(
*
emptypb
.
Empty
,
error
)
{
out
:=
new
(
emptypb
.
Empty
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Archive
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Archive
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -238,7 +209,7 @@ func (c *itemsClient) Archive(ctx context.Context, in *ArchiveRequest, opts ...g
func
(
c
*
itemsClient
)
FindArchived
(
ctx
context
.
Context
,
in
*
FindArchivedRequest
,
opts
...
grpc
.
CallOption
)
(
*
FindArchivedResponse
,
error
)
{
out
:=
new
(
FindArchivedResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
FindArchived
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
FindArchived
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -247,7 +218,7 @@ func (c *itemsClient) FindArchived(ctx context.Context, in *FindArchivedRequest,
func
(
c
*
itemsClient
)
Unarchive
(
ctx
context
.
Context
,
in
*
UnarchiveRequest
,
opts
...
grpc
.
CallOption
)
(
*
emptypb
.
Empty
,
error
)
{
out
:=
new
(
emptypb
.
Empty
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
Items
_
Unarchive
_FullMethodName
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/content.items.
Items
/
Unarchive
"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -372,7 +343,7 @@ func _Items_Create_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Create
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Create
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Create
(
ctx
,
req
.
(
*
CreateRequest
))
...
...
@@ -390,7 +361,7 @@ func _Items_Introspect_Handler(srv interface{}, ctx context.Context, dec func(in
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Introspect
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Introspect
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Introspect
(
ctx
,
req
.
(
*
IntrospectRequest
))
...
...
@@ -408,7 +379,7 @@ func _Items_Get_Handler(srv interface{}, ctx context.Context, dec func(interface
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items_Get_FullMethodName
,
FullMethod
:
"/content.items.Items/Get"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Get
(
ctx
,
req
.
(
*
GetRequest
))
...
...
@@ -426,7 +397,7 @@ func _Items_Find_Handler(srv interface{}, ctx context.Context, dec func(interfac
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Find
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Find
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Find
(
ctx
,
req
.
(
*
FindRequest
))
...
...
@@ -444,7 +415,7 @@ func _Items_Update_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Update
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Update
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Update
(
ctx
,
req
.
(
*
UpdateRequest
))
...
...
@@ -462,7 +433,7 @@ func _Items_Delete_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Delete
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Delete
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Delete
(
ctx
,
req
.
(
*
DeleteRequest
))
...
...
@@ -480,7 +451,7 @@ func _Items_Undelete_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Undelete
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Undelete
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Undelete
(
ctx
,
req
.
(
*
UndeleteRequest
))
...
...
@@ -498,7 +469,7 @@ func _Items_Publish_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Publish
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Publish
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Publish
(
ctx
,
req
.
(
*
PublishRequest
))
...
...
@@ -516,7 +487,7 @@ func _Items_Unpublish_Handler(srv interface{}, ctx context.Context, dec func(int
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Unpublish
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Unpublish
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Unpublish
(
ctx
,
req
.
(
*
UnpublishRequest
))
...
...
@@ -534,7 +505,7 @@ func _Items_GetPublished_Handler(srv interface{}, ctx context.Context, dec func(
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
GetPublished
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
GetPublished
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
GetPublished
(
ctx
,
req
.
(
*
GetPublishedRequest
))
...
...
@@ -552,7 +523,7 @@ func _Items_FindPublished_Handler(srv interface{}, ctx context.Context, dec func
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
FindPublished
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
FindPublished
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
FindPublished
(
ctx
,
req
.
(
*
FindPublishedRequest
))
...
...
@@ -570,7 +541,7 @@ func _Items_Aggregate_Handler(srv interface{}, ctx context.Context, dec func(int
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Aggregate
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Aggregate
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Aggregate
(
ctx
,
req
.
(
*
AggregateRequest
))
...
...
@@ -588,7 +559,7 @@ func _Items_AggregatePublished_Handler(srv interface{}, ctx context.Context, dec
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
AggregatePublished
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
AggregatePublished
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
AggregatePublished
(
ctx
,
req
.
(
*
AggregatePublishedRequest
))
...
...
@@ -606,7 +577,7 @@ func _Items_GetRevision_Handler(srv interface{}, ctx context.Context, dec func(i
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
GetRevision
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
GetRevision
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
GetRevision
(
ctx
,
req
.
(
*
GetRevisionRequest
))
...
...
@@ -624,7 +595,7 @@ func _Items_ListRevisions_Handler(srv interface{}, ctx context.Context, dec func
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
ListRevisions
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
ListRevisions
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
ListRevisions
(
ctx
,
req
.
(
*
ListRevisionsRequest
))
...
...
@@ -642,7 +613,7 @@ func _Items_Archive_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Archive
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Archive
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Archive
(
ctx
,
req
.
(
*
ArchiveRequest
))
...
...
@@ -660,7 +631,7 @@ func _Items_FindArchived_Handler(srv interface{}, ctx context.Context, dec func(
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
FindArchived
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
FindArchived
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
FindArchived
(
ctx
,
req
.
(
*
FindArchivedRequest
))
...
...
@@ -678,7 +649,7 @@ func _Items_Unarchive_Handler(srv interface{}, ctx context.Context, dec func(int
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
Items
_
Unarchive
_FullMethodName
,
FullMethod
:
"/content.items.
Items
/
Unarchive
"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ItemsServer
)
.
Unarchive
(
ctx
,
req
.
(
*
UnarchiveRequest
))
...
...
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