Skip to content
Snippets Groups Projects
Commit 948f2813 authored by ko_oler's avatar ko_oler
Browse files

fix

parent ff21cb7e
Branches
Tags
No related merge requests found
// 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
......
// 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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment