✨ New list user friends & blocklist calls
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.2.0
|
||||
// - protoc-gen-go-grpc v1.4.0
|
||||
// - protoc v5.27.1
|
||||
// source: postman.proto
|
||||
|
||||
@ -15,8 +15,15 @@ import (
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
// Requires gRPC-Go v1.32.0 or later.
|
||||
const _ = grpc.SupportPackageIsVersion7
|
||||
// Requires gRPC-Go v1.62.0 or later.
|
||||
const _ = grpc.SupportPackageIsVersion8
|
||||
|
||||
const (
|
||||
Postman_DeliverNotification_FullMethodName = "/proto.Postman/DeliverNotification"
|
||||
Postman_DeliverNotificationBatch_FullMethodName = "/proto.Postman/DeliverNotificationBatch"
|
||||
Postman_DeliverEmail_FullMethodName = "/proto.Postman/DeliverEmail"
|
||||
Postman_DeliverEmailBatch_FullMethodName = "/proto.Postman/DeliverEmailBatch"
|
||||
)
|
||||
|
||||
// PostmanClient is the client API for Postman service.
|
||||
//
|
||||
@ -37,8 +44,9 @@ func NewPostmanClient(cc grpc.ClientConnInterface) PostmanClient {
|
||||
}
|
||||
|
||||
func (c *postmanClient) DeliverNotification(ctx context.Context, in *DeliverNotificationRequest, opts ...grpc.CallOption) (*DeliverResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(DeliverResponse)
|
||||
err := c.cc.Invoke(ctx, "/proto.Postman/DeliverNotification", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, Postman_DeliverNotification_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -46,8 +54,9 @@ func (c *postmanClient) DeliverNotification(ctx context.Context, in *DeliverNoti
|
||||
}
|
||||
|
||||
func (c *postmanClient) DeliverNotificationBatch(ctx context.Context, in *DeliverNotificationBatchRequest, opts ...grpc.CallOption) (*DeliverResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(DeliverResponse)
|
||||
err := c.cc.Invoke(ctx, "/proto.Postman/DeliverNotificationBatch", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, Postman_DeliverNotificationBatch_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -55,8 +64,9 @@ func (c *postmanClient) DeliverNotificationBatch(ctx context.Context, in *Delive
|
||||
}
|
||||
|
||||
func (c *postmanClient) DeliverEmail(ctx context.Context, in *DeliverEmailRequest, opts ...grpc.CallOption) (*DeliverResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(DeliverResponse)
|
||||
err := c.cc.Invoke(ctx, "/proto.Postman/DeliverEmail", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, Postman_DeliverEmail_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -64,8 +74,9 @@ func (c *postmanClient) DeliverEmail(ctx context.Context, in *DeliverEmailReques
|
||||
}
|
||||
|
||||
func (c *postmanClient) DeliverEmailBatch(ctx context.Context, in *DeliverEmailBatchRequest, opts ...grpc.CallOption) (*DeliverResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(DeliverResponse)
|
||||
err := c.cc.Invoke(ctx, "/proto.Postman/DeliverEmailBatch", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, Postman_DeliverEmailBatch_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -122,7 +133,7 @@ func _Postman_DeliverNotification_Handler(srv interface{}, ctx context.Context,
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/proto.Postman/DeliverNotification",
|
||||
FullMethod: Postman_DeliverNotification_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PostmanServer).DeliverNotification(ctx, req.(*DeliverNotificationRequest))
|
||||
@ -140,7 +151,7 @@ func _Postman_DeliverNotificationBatch_Handler(srv interface{}, ctx context.Cont
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/proto.Postman/DeliverNotificationBatch",
|
||||
FullMethod: Postman_DeliverNotificationBatch_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PostmanServer).DeliverNotificationBatch(ctx, req.(*DeliverNotificationBatchRequest))
|
||||
@ -158,7 +169,7 @@ func _Postman_DeliverEmail_Handler(srv interface{}, ctx context.Context, dec fun
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/proto.Postman/DeliverEmail",
|
||||
FullMethod: Postman_DeliverEmail_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PostmanServer).DeliverEmail(ctx, req.(*DeliverEmailRequest))
|
||||
@ -176,7 +187,7 @@ func _Postman_DeliverEmailBatch_Handler(srv interface{}, ctx context.Context, de
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/proto.Postman/DeliverEmailBatch",
|
||||
FullMethod: Postman_DeliverEmailBatch_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PostmanServer).DeliverEmailBatch(ctx, req.(*DeliverEmailBatchRequest))
|
||||
|
Reference in New Issue
Block a user