• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lightningnetwork / lnd / 13412100018

19 Feb 2025 12:05PM UTC coverage: 44.914% (-13.9%) from 58.794%
13412100018

Pull #9521

github

web-flow
Merge 861d6970e into 0e8786348
Pull Request #9521: unit: remove GOACC, use Go 1.20 native coverage functionality

101023 of 224923 relevant lines covered (44.91%)

19479.4 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

20.0
/lnrpc/watchtowerrpc/watchtower.pb.go
1
// Code generated by protoc-gen-go. DO NOT EDIT.
2
// versions:
3
//         protoc-gen-go v1.33.0
4
//         protoc        v3.21.12
5
// source: watchtowerrpc/watchtower.proto
6

7
package watchtowerrpc
8

9
import (
10
        protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11
        protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12
        reflect "reflect"
13
        sync "sync"
14
)
15

16
const (
17
        // Verify that this generated code is sufficiently up-to-date.
18
        _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19
        // Verify that runtime/protoimpl is sufficiently up-to-date.
20
        _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21
)
22

23
type GetInfoRequest struct {
24
        state         protoimpl.MessageState
25
        sizeCache     protoimpl.SizeCache
26
        unknownFields protoimpl.UnknownFields
27
}
28

29
func (x *GetInfoRequest) Reset() {
×
30
        *x = GetInfoRequest{}
×
31
        if protoimpl.UnsafeEnabled {
×
32
                mi := &file_watchtowerrpc_watchtower_proto_msgTypes[0]
×
33
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
34
                ms.StoreMessageInfo(mi)
×
35
        }
×
36
}
37

38
func (x *GetInfoRequest) String() string {
×
39
        return protoimpl.X.MessageStringOf(x)
×
40
}
×
41

42
func (*GetInfoRequest) ProtoMessage() {}
×
43

44
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message {
×
45
        mi := &file_watchtowerrpc_watchtower_proto_msgTypes[0]
×
46
        if protoimpl.UnsafeEnabled && x != nil {
×
47
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
48
                if ms.LoadMessageInfo() == nil {
×
49
                        ms.StoreMessageInfo(mi)
×
50
                }
×
51
                return ms
×
52
        }
53
        return mi.MessageOf(x)
×
54
}
55

56
// Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
57
func (*GetInfoRequest) Descriptor() ([]byte, []int) {
×
58
        return file_watchtowerrpc_watchtower_proto_rawDescGZIP(), []int{0}
×
59
}
×
60

61
type GetInfoResponse struct {
62
        state         protoimpl.MessageState
63
        sizeCache     protoimpl.SizeCache
64
        unknownFields protoimpl.UnknownFields
65

66
        // The public key of the watchtower.
67
        Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
68
        // The listening addresses of the watchtower.
69
        Listeners []string `protobuf:"bytes,2,rep,name=listeners,proto3" json:"listeners,omitempty"`
70
        // The URIs of the watchtower.
71
        Uris []string `protobuf:"bytes,3,rep,name=uris,proto3" json:"uris,omitempty"`
72
}
73

74
func (x *GetInfoResponse) Reset() {
×
75
        *x = GetInfoResponse{}
×
76
        if protoimpl.UnsafeEnabled {
×
77
                mi := &file_watchtowerrpc_watchtower_proto_msgTypes[1]
×
78
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
79
                ms.StoreMessageInfo(mi)
×
80
        }
×
81
}
82

83
func (x *GetInfoResponse) String() string {
×
84
        return protoimpl.X.MessageStringOf(x)
×
85
}
×
86

87
func (*GetInfoResponse) ProtoMessage() {}
×
88

89
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message {
×
90
        mi := &file_watchtowerrpc_watchtower_proto_msgTypes[1]
×
91
        if protoimpl.UnsafeEnabled && x != nil {
×
92
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
93
                if ms.LoadMessageInfo() == nil {
×
94
                        ms.StoreMessageInfo(mi)
×
95
                }
×
96
                return ms
×
97
        }
98
        return mi.MessageOf(x)
×
99
}
100

101
// Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
102
func (*GetInfoResponse) Descriptor() ([]byte, []int) {
×
103
        return file_watchtowerrpc_watchtower_proto_rawDescGZIP(), []int{1}
×
104
}
×
105

106
func (x *GetInfoResponse) GetPubkey() []byte {
×
107
        if x != nil {
×
108
                return x.Pubkey
×
109
        }
×
110
        return nil
×
111
}
112

113
func (x *GetInfoResponse) GetListeners() []string {
×
114
        if x != nil {
×
115
                return x.Listeners
×
116
        }
×
117
        return nil
×
118
}
119

120
func (x *GetInfoResponse) GetUris() []string {
×
121
        if x != nil {
×
122
                return x.Uris
×
123
        }
×
124
        return nil
×
125
}
126

127
var File_watchtowerrpc_watchtower_proto protoreflect.FileDescriptor
128

129
var file_watchtowerrpc_watchtower_proto_rawDesc = []byte{
130
        0x0a, 0x1e, 0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2f,
131
        0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
132
        0x12, 0x0d, 0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x72, 0x70, 0x63, 0x22,
133
        0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
134
        0x74, 0x22, 0x5b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70,
135
        0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01,
136
        0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09,
137
        0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
138
        0x09, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72,
139
        0x69, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x69, 0x73, 0x32, 0x56,
140
        0x0a, 0x0a, 0x57, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x07,
141
        0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x2e, 0x77, 0x61, 0x74, 0x63, 0x68, 0x74,
142
        0x6f, 0x77, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52,
143
        0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f,
144
        0x77, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
145
        0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
146
        0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x6e, 0x65,
147
        0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2f,
148
        0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70,
149
        0x72, 0x6f, 0x74, 0x6f, 0x33,
150
}
151

152
var (
153
        file_watchtowerrpc_watchtower_proto_rawDescOnce sync.Once
154
        file_watchtowerrpc_watchtower_proto_rawDescData = file_watchtowerrpc_watchtower_proto_rawDesc
155
)
156

157
func file_watchtowerrpc_watchtower_proto_rawDescGZIP() []byte {
×
158
        file_watchtowerrpc_watchtower_proto_rawDescOnce.Do(func() {
×
159
                file_watchtowerrpc_watchtower_proto_rawDescData = protoimpl.X.CompressGZIP(file_watchtowerrpc_watchtower_proto_rawDescData)
×
160
        })
×
161
        return file_watchtowerrpc_watchtower_proto_rawDescData
×
162
}
163

164
var file_watchtowerrpc_watchtower_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
165
var file_watchtowerrpc_watchtower_proto_goTypes = []interface{}{
166
        (*GetInfoRequest)(nil),  // 0: watchtowerrpc.GetInfoRequest
167
        (*GetInfoResponse)(nil), // 1: watchtowerrpc.GetInfoResponse
168
}
169
var file_watchtowerrpc_watchtower_proto_depIdxs = []int32{
170
        0, // 0: watchtowerrpc.Watchtower.GetInfo:input_type -> watchtowerrpc.GetInfoRequest
171
        1, // 1: watchtowerrpc.Watchtower.GetInfo:output_type -> watchtowerrpc.GetInfoResponse
172
        1, // [1:2] is the sub-list for method output_type
173
        0, // [0:1] is the sub-list for method input_type
174
        0, // [0:0] is the sub-list for extension type_name
175
        0, // [0:0] is the sub-list for extension extendee
176
        0, // [0:0] is the sub-list for field type_name
177
}
178

179
func init() { file_watchtowerrpc_watchtower_proto_init() }
3✔
180
func file_watchtowerrpc_watchtower_proto_init() {
3✔
181
        if File_watchtowerrpc_watchtower_proto != nil {
3✔
182
                return
×
183
        }
×
184
        if !protoimpl.UnsafeEnabled {
3✔
185
                file_watchtowerrpc_watchtower_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
×
186
                        switch v := v.(*GetInfoRequest); i {
×
187
                        case 0:
×
188
                                return &v.state
×
189
                        case 1:
×
190
                                return &v.sizeCache
×
191
                        case 2:
×
192
                                return &v.unknownFields
×
193
                        default:
×
194
                                return nil
×
195
                        }
196
                }
197
                file_watchtowerrpc_watchtower_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
×
198
                        switch v := v.(*GetInfoResponse); i {
×
199
                        case 0:
×
200
                                return &v.state
×
201
                        case 1:
×
202
                                return &v.sizeCache
×
203
                        case 2:
×
204
                                return &v.unknownFields
×
205
                        default:
×
206
                                return nil
×
207
                        }
208
                }
209
        }
210
        type x struct{}
3✔
211
        out := protoimpl.TypeBuilder{
3✔
212
                File: protoimpl.DescBuilder{
3✔
213
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
3✔
214
                        RawDescriptor: file_watchtowerrpc_watchtower_proto_rawDesc,
3✔
215
                        NumEnums:      0,
3✔
216
                        NumMessages:   2,
3✔
217
                        NumExtensions: 0,
3✔
218
                        NumServices:   1,
3✔
219
                },
3✔
220
                GoTypes:           file_watchtowerrpc_watchtower_proto_goTypes,
3✔
221
                DependencyIndexes: file_watchtowerrpc_watchtower_proto_depIdxs,
3✔
222
                MessageInfos:      file_watchtowerrpc_watchtower_proto_msgTypes,
3✔
223
        }.Build()
3✔
224
        File_watchtowerrpc_watchtower_proto = out.File
3✔
225
        file_watchtowerrpc_watchtower_proto_rawDesc = nil
3✔
226
        file_watchtowerrpc_watchtower_proto_goTypes = nil
3✔
227
        file_watchtowerrpc_watchtower_proto_depIdxs = nil
3✔
228
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc