From 79616fc92ad55a61df1dd67dd6bcc4d7bfc06137 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:16:59 +0000 Subject: [PATCH] Update generated files from d0cfc774ca22b5df277e5f841f09f1795bc2bda4 --- go.mod | 2 +- session.pb.go | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index b22e181..a5928da 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,6 @@ require ( github.com/dlintw/goconf v0.0.0-20120228082610-dcc070983490 github.com/fsnotify/fsnotify v1.8.0 github.com/golang-jwt/jwt/v5 v5.2.1 - github.com/golang/protobuf v1.5.4 github.com/google/uuid v1.6.0 github.com/gorilla/mux v1.8.1 github.com/gorilla/securecookie v1.1.2 @@ -42,6 +41,7 @@ require ( github.com/go-logr/stdr v1.2.2 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang-jwt/jwt/v4 v4.5.1 // indirect + github.com/golang/protobuf v1.5.4 // indirect github.com/google/btree v1.0.1 // indirect github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect diff --git a/session.pb.go b/session.pb.go index 17afb31..f875cbf 100644 --- a/session.pb.go +++ b/session.pb.go @@ -25,9 +25,9 @@ package signaling import ( - timestamp "github.com/golang/protobuf/ptypes/timestamp" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" ) @@ -42,7 +42,7 @@ const ( type SessionIdData struct { state protoimpl.MessageState `protogen:"open.v1"` Sid uint64 `protobuf:"varint,1,opt,name=Sid,proto3" json:"Sid,omitempty"` - Created *timestamp.Timestamp `protobuf:"bytes,2,opt,name=Created,proto3" json:"Created,omitempty"` + Created *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=Created,proto3" json:"Created,omitempty"` BackendId string `protobuf:"bytes,3,opt,name=BackendId,proto3" json:"BackendId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -85,7 +85,7 @@ func (x *SessionIdData) GetSid() uint64 { return 0 } -func (x *SessionIdData) GetCreated() *timestamp.Timestamp { +func (x *SessionIdData) GetCreated() *timestamppb.Timestamp { if x != nil { return x.Created } @@ -134,8 +134,8 @@ func file_session_proto_rawDescGZIP() []byte { var file_session_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_session_proto_goTypes = []any{ - (*SessionIdData)(nil), // 0: signaling.SessionIdData - (*timestamp.Timestamp)(nil), // 1: google.protobuf.Timestamp + (*SessionIdData)(nil), // 0: signaling.SessionIdData + (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp } var file_session_proto_depIdxs = []int32{ 1, // 0: signaling.SessionIdData.Created:type_name -> google.protobuf.Timestamp