mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
looprpc: convert looprpc into a versioned module
This commit transforms the looprpc subpackage into a versioned module. By doing so, projects that rely solely on the generated RPC code from the proto files will benefit from significantly reduced dependencies during compilation.
This commit is contained in:
parent
07791664c6
commit
64886dfc66
6 changed files with 1656 additions and 95 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.33.0
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: debug.proto
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ func file_debug_proto_rawDescGZIP() []byte {
|
|||
}
|
||||
|
||||
var file_debug_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_debug_proto_goTypes = []interface{}{
|
||||
var file_debug_proto_goTypes = []any{
|
||||
(*ForceAutoLoopRequest)(nil), // 0: looprpc.ForceAutoLoopRequest
|
||||
(*ForceAutoLoopResponse)(nil), // 1: looprpc.ForceAutoLoopResponse
|
||||
}
|
||||
|
|
@ -148,7 +148,7 @@ func file_debug_proto_init() {
|
|||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_debug_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_debug_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ForceAutoLoopRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -160,7 +160,7 @@ func file_debug_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_debug_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_debug_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ForceAutoLoopResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue