Browse Source

chore: update protobufs

pull/2896/head
sukun 3 months ago
committed by Marco Munizaga
parent
commit
afc6a07977
  1. 10
      core/crypto/pb/crypto.pb.go
  2. 10
      core/peer/pb/peer_record.pb.go
  3. 8
      core/record/pb/envelope.pb.go
  4. 8
      core/sec/insecure/pb/plaintext.pb.go
  5. 14
      p2p/host/autonat/pb/autonat.pb.go
  6. 12
      p2p/host/peerstore/pstoreds/pb/pstore.pb.go
  7. 22
      p2p/protocol/autonatv2/pb/autonatv2.pb.go
  8. 26
      p2p/protocol/circuitv2/pb/circuit.pb.go
  9. 10
      p2p/protocol/circuitv2/pb/voucher.pb.go
  10. 8
      p2p/protocol/holepunch/pb/holepunch.pb.go
  11. 8
      p2p/protocol/identify/pb/identify.pb.go
  12. 10
      p2p/security/noise/pb/payload.pb.go
  13. 8
      p2p/transport/webrtc/pb/message.pb.go

10
core/crypto/pb/crypto.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/crypto.proto
package pb
@ -229,7 +229,7 @@ func file_pb_crypto_proto_rawDescGZIP() []byte {
var file_pb_crypto_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_pb_crypto_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_pb_crypto_proto_goTypes = []interface{}{
var file_pb_crypto_proto_goTypes = []any{
(KeyType)(0), // 0: crypto.pb.KeyType
(*PublicKey)(nil), // 1: crypto.pb.PublicKey
(*PrivateKey)(nil), // 2: crypto.pb.PrivateKey
@ -250,7 +250,7 @@ func file_pb_crypto_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_crypto_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_crypto_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*PublicKey); i {
case 0:
return &v.state
@ -262,7 +262,7 @@ func file_pb_crypto_proto_init() {
return nil
}
}
file_pb_crypto_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_pb_crypto_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*PrivateKey); i {
case 0:
return &v.state

10
core/peer/pb/peer_record.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/peer_record.proto
package pb
@ -174,7 +174,7 @@ func file_pb_peer_record_proto_rawDescGZIP() []byte {
}
var file_pb_peer_record_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_pb_peer_record_proto_goTypes = []interface{}{
var file_pb_peer_record_proto_goTypes = []any{
(*PeerRecord)(nil), // 0: peer.pb.PeerRecord
(*PeerRecord_AddressInfo)(nil), // 1: peer.pb.PeerRecord.AddressInfo
}
@ -193,7 +193,7 @@ func file_pb_peer_record_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_peer_record_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_peer_record_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*PeerRecord); i {
case 0:
return &v.state
@ -205,7 +205,7 @@ func file_pb_peer_record_proto_init() {
return nil
}
}
file_pb_peer_record_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_pb_peer_record_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*PeerRecord_AddressInfo); i {
case 0:
return &v.state

8
core/record/pb/envelope.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/envelope.proto
package pb
@ -139,7 +139,7 @@ func file_pb_envelope_proto_rawDescGZIP() []byte {
}
var file_pb_envelope_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_pb_envelope_proto_goTypes = []interface{}{
var file_pb_envelope_proto_goTypes = []any{
(*Envelope)(nil), // 0: record.pb.Envelope
(*pb.PublicKey)(nil), // 1: crypto.pb.PublicKey
}
@ -158,7 +158,7 @@ func file_pb_envelope_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_envelope_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_envelope_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Envelope); i {
case 0:
return &v.state

8
core/sec/insecure/pb/plaintext.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/plaintext.proto
package pb
@ -103,7 +103,7 @@ func file_pb_plaintext_proto_rawDescGZIP() []byte {
}
var file_pb_plaintext_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_pb_plaintext_proto_goTypes = []interface{}{
var file_pb_plaintext_proto_goTypes = []any{
(*Exchange)(nil), // 0: plaintext.pb.Exchange
(*pb.PublicKey)(nil), // 1: crypto.pb.PublicKey
}
@ -122,7 +122,7 @@ func file_pb_plaintext_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_plaintext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_plaintext_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Exchange); i {
case 0:
return &v.state

14
p2p/host/autonat/pb/autonat.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/autonat.proto
package pb
@ -426,7 +426,7 @@ func file_pb_autonat_proto_rawDescGZIP() []byte {
var file_pb_autonat_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_pb_autonat_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_pb_autonat_proto_goTypes = []interface{}{
var file_pb_autonat_proto_goTypes = []any{
(Message_MessageType)(0), // 0: autonat.pb.Message.MessageType
(Message_ResponseStatus)(0), // 1: autonat.pb.Message.ResponseStatus
(*Message)(nil), // 2: autonat.pb.Message
@ -453,7 +453,7 @@ func file_pb_autonat_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_autonat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonat_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Message); i {
case 0:
return &v.state
@ -465,7 +465,7 @@ func file_pb_autonat_proto_init() {
return nil
}
}
file_pb_autonat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonat_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*Message_PeerInfo); i {
case 0:
return &v.state
@ -477,7 +477,7 @@ func file_pb_autonat_proto_init() {
return nil
}
}
file_pb_autonat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonat_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*Message_Dial); i {
case 0:
return &v.state
@ -489,7 +489,7 @@ func file_pb_autonat_proto_init() {
return nil
}
}
file_pb_autonat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonat_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*Message_DialResponse); i {
case 0:
return &v.state

12
p2p/host/peerstore/pstoreds/pb/pstore.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/pstore.proto
package pb
@ -252,7 +252,7 @@ func file_pb_pstore_proto_rawDescGZIP() []byte {
}
var file_pb_pstore_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_pb_pstore_proto_goTypes = []interface{}{
var file_pb_pstore_proto_goTypes = []any{
(*AddrBookRecord)(nil), // 0: pstore.pb.AddrBookRecord
(*AddrBookRecord_AddrEntry)(nil), // 1: pstore.pb.AddrBookRecord.AddrEntry
(*AddrBookRecord_CertifiedRecord)(nil), // 2: pstore.pb.AddrBookRecord.CertifiedRecord
@ -273,7 +273,7 @@ func file_pb_pstore_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_pstore_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_pstore_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*AddrBookRecord); i {
case 0:
return &v.state
@ -285,7 +285,7 @@ func file_pb_pstore_proto_init() {
return nil
}
}
file_pb_pstore_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_pb_pstore_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*AddrBookRecord_AddrEntry); i {
case 0:
return &v.state
@ -297,7 +297,7 @@ func file_pb_pstore_proto_init() {
return nil
}
}
file_pb_pstore_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_pb_pstore_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*AddrBookRecord_CertifiedRecord); i {
case 0:
return &v.state

22
p2p/protocol/autonatv2/pb/autonatv2.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v4.25.3
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/autonatv2.proto
package pb
@ -672,7 +672,7 @@ func file_pb_autonatv2_proto_rawDescGZIP() []byte {
var file_pb_autonatv2_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_pb_autonatv2_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_pb_autonatv2_proto_goTypes = []interface{}{
var file_pb_autonatv2_proto_goTypes = []any{
(DialStatus)(0), // 0: autonatv2.pb.DialStatus
(DialResponse_ResponseStatus)(0), // 1: autonatv2.pb.DialResponse.ResponseStatus
(DialBackResponse_DialBackStatus)(0), // 2: autonatv2.pb.DialBackResponse.DialBackStatus
@ -705,7 +705,7 @@ func file_pb_autonatv2_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_autonatv2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonatv2_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Message); i {
case 0:
return &v.state
@ -717,7 +717,7 @@ func file_pb_autonatv2_proto_init() {
return nil
}
}
file_pb_autonatv2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonatv2_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*DialRequest); i {
case 0:
return &v.state
@ -729,7 +729,7 @@ func file_pb_autonatv2_proto_init() {
return nil
}
}
file_pb_autonatv2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonatv2_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*DialDataRequest); i {
case 0:
return &v.state
@ -741,7 +741,7 @@ func file_pb_autonatv2_proto_init() {
return nil
}
}
file_pb_autonatv2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonatv2_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*DialResponse); i {
case 0:
return &v.state
@ -753,7 +753,7 @@ func file_pb_autonatv2_proto_init() {
return nil
}
}
file_pb_autonatv2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonatv2_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*DialDataResponse); i {
case 0:
return &v.state
@ -765,7 +765,7 @@ func file_pb_autonatv2_proto_init() {
return nil
}
}
file_pb_autonatv2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonatv2_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*DialBack); i {
case 0:
return &v.state
@ -777,7 +777,7 @@ func file_pb_autonatv2_proto_init() {
return nil
}
}
file_pb_autonatv2_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_pb_autonatv2_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*DialBackResponse); i {
case 0:
return &v.state
@ -790,7 +790,7 @@ func file_pb_autonatv2_proto_init() {
}
}
}
file_pb_autonatv2_proto_msgTypes[0].OneofWrappers = []interface{}{
file_pb_autonatv2_proto_msgTypes[0].OneofWrappers = []any{
(*Message_DialRequest)(nil),
(*Message_DialResponse)(nil),
(*Message_DialDataRequest)(nil),

26
p2p/protocol/circuitv2/pb/circuit.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/circuit.proto
package pb
@ -606,7 +606,7 @@ func file_pb_circuit_proto_rawDescGZIP() []byte {
var file_pb_circuit_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_pb_circuit_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_pb_circuit_proto_goTypes = []interface{}{
var file_pb_circuit_proto_goTypes = []any{
(Status)(0), // 0: circuit.pb.Status
(HopMessage_Type)(0), // 1: circuit.pb.HopMessage.Type
(StopMessage_Type)(0), // 2: circuit.pb.StopMessage.Type
@ -639,7 +639,7 @@ func file_pb_circuit_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_circuit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_circuit_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*HopMessage); i {
case 0:
return &v.state
@ -651,7 +651,7 @@ func file_pb_circuit_proto_init() {
return nil
}
}
file_pb_circuit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_pb_circuit_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*StopMessage); i {
case 0:
return &v.state
@ -663,7 +663,7 @@ func file_pb_circuit_proto_init() {
return nil
}
}
file_pb_circuit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_pb_circuit_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*Peer); i {
case 0:
return &v.state
@ -675,7 +675,7 @@ func file_pb_circuit_proto_init() {
return nil
}
}
file_pb_circuit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_pb_circuit_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*Reservation); i {
case 0:
return &v.state
@ -687,7 +687,7 @@ func file_pb_circuit_proto_init() {
return nil
}
}
file_pb_circuit_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_pb_circuit_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*Limit); i {
case 0:
return &v.state
@ -700,11 +700,11 @@ func file_pb_circuit_proto_init() {
}
}
}
file_pb_circuit_proto_msgTypes[0].OneofWrappers = []interface{}{}
file_pb_circuit_proto_msgTypes[1].OneofWrappers = []interface{}{}
file_pb_circuit_proto_msgTypes[2].OneofWrappers = []interface{}{}
file_pb_circuit_proto_msgTypes[3].OneofWrappers = []interface{}{}
file_pb_circuit_proto_msgTypes[4].OneofWrappers = []interface{}{}
file_pb_circuit_proto_msgTypes[0].OneofWrappers = []any{}
file_pb_circuit_proto_msgTypes[1].OneofWrappers = []any{}
file_pb_circuit_proto_msgTypes[2].OneofWrappers = []any{}
file_pb_circuit_proto_msgTypes[3].OneofWrappers = []any{}
file_pb_circuit_proto_msgTypes[4].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{

10
p2p/protocol/circuitv2/pb/voucher.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/voucher.proto
package pb
@ -115,7 +115,7 @@ func file_pb_voucher_proto_rawDescGZIP() []byte {
}
var file_pb_voucher_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_pb_voucher_proto_goTypes = []interface{}{
var file_pb_voucher_proto_goTypes = []any{
(*ReservationVoucher)(nil), // 0: circuit.pb.ReservationVoucher
}
var file_pb_voucher_proto_depIdxs = []int32{
@ -132,7 +132,7 @@ func file_pb_voucher_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_voucher_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_voucher_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*ReservationVoucher); i {
case 0:
return &v.state
@ -145,7 +145,7 @@ func file_pb_voucher_proto_init() {
}
}
}
file_pb_voucher_proto_msgTypes[0].OneofWrappers = []interface{}{}
file_pb_voucher_proto_msgTypes[0].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{

8
p2p/protocol/holepunch/pb/holepunch.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/holepunch.proto
package pb
@ -161,7 +161,7 @@ func file_pb_holepunch_proto_rawDescGZIP() []byte {
var file_pb_holepunch_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_pb_holepunch_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_pb_holepunch_proto_goTypes = []interface{}{
var file_pb_holepunch_proto_goTypes = []any{
(HolePunch_Type)(0), // 0: holepunch.pb.HolePunch.Type
(*HolePunch)(nil), // 1: holepunch.pb.HolePunch
}
@ -180,7 +180,7 @@ func file_pb_holepunch_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_holepunch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_holepunch_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*HolePunch); i {
case 0:
return &v.state

8
p2p/protocol/identify/pb/identify.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/identify.proto
package pb
@ -168,7 +168,7 @@ func file_pb_identify_proto_rawDescGZIP() []byte {
}
var file_pb_identify_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_pb_identify_proto_goTypes = []interface{}{
var file_pb_identify_proto_goTypes = []any{
(*Identify)(nil), // 0: identify.pb.Identify
}
var file_pb_identify_proto_depIdxs = []int32{
@ -185,7 +185,7 @@ func file_pb_identify_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_identify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_identify_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Identify); i {
case 0:
return &v.state

10
p2p/security/noise/pb/payload.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: pb/payload.proto
package pb
@ -174,7 +174,7 @@ func file_pb_payload_proto_rawDescGZIP() []byte {
}
var file_pb_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_pb_payload_proto_goTypes = []interface{}{
var file_pb_payload_proto_goTypes = []any{
(*NoiseExtensions)(nil), // 0: pb.NoiseExtensions
(*NoiseHandshakePayload)(nil), // 1: pb.NoiseHandshakePayload
}
@ -193,7 +193,7 @@ func file_pb_payload_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_payload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_pb_payload_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*NoiseExtensions); i {
case 0:
return &v.state
@ -205,7 +205,7 @@ func file_pb_payload_proto_init() {
return nil
}
}
file_pb_payload_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_pb_payload_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*NoiseHandshakePayload); i {
case 0:
return &v.state

8
p2p/transport/webrtc/pb/message.pb.go

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// protoc-gen-go v1.34.2
// protoc v5.27.2
// source: message.proto
package pb
@ -177,7 +177,7 @@ func file_message_proto_rawDescGZIP() []byte {
var file_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_message_proto_goTypes = []interface{}{
var file_message_proto_goTypes = []any{
(Message_Flag)(0), // 0: Message.Flag
(*Message)(nil), // 1: Message
}
@ -196,7 +196,7 @@ func file_message_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_message_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Message); i {
case 0:
return &v.state

Loading…
Cancel
Save