Documentation ¶
Index ¶
- Variables
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetCaller() string
- func (x *Data) GetCount() uint32
- func (x *Data) GetDeviceToken() string
- func (x *Data) GetHostname() string
- func (x *Data) GetLevel() Data_Level
- func (x *Data) GetMsg() string
- func (x *Data) GetSource() string
- func (x *Data) GetTime() string
- func (x *Data) GetUser() string
- func (x *Data) GetWebrtcID() string
- func (x *Data) GetWebsocketID() string
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type Data_Level
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Data_Level_name = map[int32]string{ 0: "Debug", 1: "Info", 2: "Warn", 3: "Error", 4: "Fatal", } Data_Level_value = map[string]int32{ "Debug": 0, "Info": 1, "Warn": 2, "Error": 3, "Fatal": 4, } )
Enum value maps for Data_Level.
View Source
var File_log_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Level Data_Level `protobuf:"varint,2,opt,name=level,proto3,enum=Log.Data_Level" json:"level,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` Caller string `protobuf:"bytes,4,opt,name=caller,proto3" json:"caller,omitempty"` Time string `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"` Msg string `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"` DeviceToken string `protobuf:"bytes,7,opt,name=deviceToken,proto3" json:"deviceToken,omitempty"` WebsocketID string `protobuf:"bytes,8,opt,name=websocketID,proto3" json:"websocketID,omitempty"` WebrtcID string `protobuf:"bytes,9,opt,name=webrtcID,proto3" json:"webrtcID,omitempty"` Count uint32 `protobuf:"varint,10,opt,name=count,proto3" json:"count,omitempty"` Hostname string `protobuf:"bytes,11,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetDeviceToken ¶
func (*Data) GetHostname ¶
func (*Data) GetLevel ¶
func (x *Data) GetLevel() Data_Level
func (*Data) GetWebrtcID ¶
func (*Data) GetWebsocketID ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Data_Level ¶
type Data_Level int32
const ( Data_Debug Data_Level = 0 Data_Info Data_Level = 1 Data_Warn Data_Level = 2 Data_Error Data_Level = 3 Data_Fatal Data_Level = 4 )
func (Data_Level) Descriptor ¶
func (Data_Level) Descriptor() protoreflect.EnumDescriptor
func (Data_Level) Enum ¶
func (x Data_Level) Enum() *Data_Level
func (Data_Level) EnumDescriptor
deprecated
func (Data_Level) EnumDescriptor() ([]byte, []int)
Deprecated: Use Data_Level.Descriptor instead.
func (Data_Level) Number ¶
func (x Data_Level) Number() protoreflect.EnumNumber
func (Data_Level) String ¶
func (x Data_Level) String() string
func (Data_Level) Type ¶
func (Data_Level) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.