-
Notifications
You must be signed in to change notification settings - Fork 105
/
service.pb.go
172 lines (147 loc) · 6.7 KB
/
service.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: axelar/tss/v1beta1/service.proto
package types
import (
context "context"
fmt "fmt"
_ "github.com/axelarnetwork/axelar-core/x/snapshot/types"
_ "github.com/gogo/protobuf/gogoproto"
grpc1 "github.com/gogo/protobuf/grpc"
proto "github.com/gogo/protobuf/proto"
golang_proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = golang_proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func init() { proto.RegisterFile("axelar/tss/v1beta1/service.proto", fileDescriptor_03d0b5f2955aa837) }
func init() {
golang_proto.RegisterFile("axelar/tss/v1beta1/service.proto", fileDescriptor_03d0b5f2955aa837)
}
var fileDescriptor_03d0b5f2955aa837 = []byte{
// 282 bytes of a gzipped FileDescriptorProto
0x1f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 0x6f, 0x9f, 0xcf, 0xff, 0x92,
0xde, 0x96, 0xfe, 0x96, 0x33, 0x5e, 0x68, 0x29, 0x18, 0x3e, 0x16, 0xfb, 0x83, 0x8d, 0x68, 0xfd,
0xbc, 0x00, 0x3f, 0x0b, 0x2d, 0xc3, 0xb3, 0xd7, 0x4a, 0x8a, 0x79, 0x25, 0xc5, 0x47, 0x25, 0xc5,
0x53, 0x2d, 0x3b, 0x2f, 0xb5, 0x14, 0xf3, 0x5a, 0x76, 0xde, 0x6b, 0xd9, 0xb9, 0x3a, 0xb4, 0x19,
0x8f, 0x8b, 0x54, 0x8d, 0xf0, 0x26, 0xbc, 0xe8, 0x80, 0xef, 0xd0, 0x5f, 0x87, 0xdb, 0xc1, 0x08,
0x3d, 0xe8, 0xb2, 0x99, 0xe1, 0x59, 0x0e, 0x94, 0xfe, 0x6f, 0x7e, 0x7c, 0xf4, 0x15, 0x00, 0x00,
0xff, 0xff, 0x80, 0xa9, 0x41, 0xde, 0x9c, 0x01, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// MsgServiceClient is the client API for MsgService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MsgServiceClient interface {
HeartBeat(ctx context.Context, in *HeartBeatRequest, opts ...grpc.CallOption) (*HeartBeatResponse, error)
}
type msgServiceClient struct {
cc grpc1.ClientConn
}
func NewMsgServiceClient(cc grpc1.ClientConn) MsgServiceClient {
return &msgServiceClient{cc}
}
func (c *msgServiceClient) HeartBeat(ctx context.Context, in *HeartBeatRequest, opts ...grpc.CallOption) (*HeartBeatResponse, error) {
out := new(HeartBeatResponse)
err := c.cc.Invoke(ctx, "/axelar.tss.v1beta1.MsgService/HeartBeat", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// MsgServiceServer is the server API for MsgService service.
type MsgServiceServer interface {
HeartBeat(context.Context, *HeartBeatRequest) (*HeartBeatResponse, error)
}
// UnimplementedMsgServiceServer can be embedded to have forward compatible implementations.
type UnimplementedMsgServiceServer struct {
}
func (*UnimplementedMsgServiceServer) HeartBeat(ctx context.Context, req *HeartBeatRequest) (*HeartBeatResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method HeartBeat not implemented")
}
func RegisterMsgServiceServer(s grpc1.Server, srv MsgServiceServer) {
s.RegisterService(&_MsgService_serviceDesc, srv)
}
func _MsgService_HeartBeat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(HeartBeatRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServiceServer).HeartBeat(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/axelar.tss.v1beta1.MsgService/HeartBeat",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServiceServer).HeartBeat(ctx, req.(*HeartBeatRequest))
}
return interceptor(ctx, in, info, handler)
}
var _MsgService_serviceDesc = grpc.ServiceDesc{
ServiceName: "axelar.tss.v1beta1.MsgService",
HandlerType: (*MsgServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "HeartBeat",
Handler: _MsgService_HeartBeat_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "axelar/tss/v1beta1/service.proto",
}
// QueryServiceClient is the client API for QueryService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type QueryServiceClient interface {
}
type queryServiceClient struct {
cc grpc1.ClientConn
}
func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient {
return &queryServiceClient{cc}
}
// QueryServiceServer is the server API for QueryService service.
type QueryServiceServer interface {
}
// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.
type UnimplementedQueryServiceServer struct {
}
func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) {
s.RegisterService(&_QueryService_serviceDesc, srv)
}
var _QueryService_serviceDesc = grpc.ServiceDesc{
ServiceName: "axelar.tss.v1beta1.QueryService",
HandlerType: (*QueryServiceServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{},
Metadata: "axelar/tss/v1beta1/service.proto",
}