✨ Able to get user by using name
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.35.1
|
||||
// protoc-gen-go v1.28.1
|
||||
// protoc v5.28.2
|
||||
// source: stream.proto
|
||||
|
||||
@@ -30,9 +30,11 @@ type CountConnectionRequest struct {
|
||||
|
||||
func (x *CountConnectionRequest) Reset() {
|
||||
*x = CountConnectionRequest{}
|
||||
mi := &file_stream_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stream_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CountConnectionRequest) String() string {
|
||||
@@ -43,7 +45,7 @@ func (*CountConnectionRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CountConnectionRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stream_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -75,9 +77,11 @@ type CountConnectionResponse struct {
|
||||
|
||||
func (x *CountConnectionResponse) Reset() {
|
||||
*x = CountConnectionResponse{}
|
||||
mi := &file_stream_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stream_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CountConnectionResponse) String() string {
|
||||
@@ -88,7 +92,7 @@ func (*CountConnectionResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CountConnectionResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stream_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -122,9 +126,11 @@ type PushStreamRequest struct {
|
||||
|
||||
func (x *PushStreamRequest) Reset() {
|
||||
*x = PushStreamRequest{}
|
||||
mi := &file_stream_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stream_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *PushStreamRequest) String() string {
|
||||
@@ -135,7 +141,7 @@ func (*PushStreamRequest) ProtoMessage() {}
|
||||
|
||||
func (x *PushStreamRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stream_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -183,9 +189,11 @@ type PushStreamBatchRequest struct {
|
||||
|
||||
func (x *PushStreamBatchRequest) Reset() {
|
||||
*x = PushStreamBatchRequest{}
|
||||
mi := &file_stream_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stream_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *PushStreamBatchRequest) String() string {
|
||||
@@ -196,7 +204,7 @@ func (*PushStreamBatchRequest) ProtoMessage() {}
|
||||
|
||||
func (x *PushStreamBatchRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stream_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -244,9 +252,11 @@ type PushStreamResponse struct {
|
||||
|
||||
func (x *PushStreamResponse) Reset() {
|
||||
*x = PushStreamResponse{}
|
||||
mi := &file_stream_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stream_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *PushStreamResponse) String() string {
|
||||
@@ -257,7 +267,7 @@ func (*PushStreamResponse) ProtoMessage() {}
|
||||
|
||||
func (x *PushStreamResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stream_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -306,9 +316,11 @@ type StreamEventRequest struct {
|
||||
|
||||
func (x *StreamEventRequest) Reset() {
|
||||
*x = StreamEventRequest{}
|
||||
mi := &file_stream_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stream_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StreamEventRequest) String() string {
|
||||
@@ -319,7 +331,7 @@ func (*StreamEventRequest) ProtoMessage() {}
|
||||
|
||||
func (x *StreamEventRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stream_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -370,9 +382,11 @@ type StreamEventResponse struct {
|
||||
|
||||
func (x *StreamEventResponse) Reset() {
|
||||
*x = StreamEventResponse{}
|
||||
mi := &file_stream_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stream_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StreamEventResponse) String() string {
|
||||
@@ -383,7 +397,7 @@ func (*StreamEventResponse) ProtoMessage() {}
|
||||
|
||||
func (x *StreamEventResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stream_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -473,7 +487,7 @@ func file_stream_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_stream_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
||||
var file_stream_proto_goTypes = []any{
|
||||
var file_stream_proto_goTypes = []interface{}{
|
||||
(*CountConnectionRequest)(nil), // 0: proto.CountConnectionRequest
|
||||
(*CountConnectionResponse)(nil), // 1: proto.CountConnectionResponse
|
||||
(*PushStreamRequest)(nil), // 2: proto.PushStreamRequest
|
||||
@@ -501,7 +515,93 @@ func file_stream_proto_init() {
|
||||
if File_stream_proto != nil {
|
||||
return
|
||||
}
|
||||
file_stream_proto_msgTypes[2].OneofWrappers = []any{}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_stream_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountConnectionRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stream_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountConnectionResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stream_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*PushStreamRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stream_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*PushStreamBatchRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stream_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*PushStreamResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stream_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StreamEventRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stream_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StreamEventResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_stream_proto_msgTypes[2].OneofWrappers = []interface{}{}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
Reference in New Issue
Block a user