Log

package
v0.0.0-...-dc4703b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetCaller

func (x *Data) GetCaller() string

func (*Data) GetCount

func (x *Data) GetCount() uint32

func (*Data) GetDeviceToken

func (x *Data) GetDeviceToken() string

func (*Data) GetHostname

func (x *Data) GetHostname() string

func (*Data) GetLevel

func (x *Data) GetLevel() Data_Level

func (*Data) GetMsg

func (x *Data) GetMsg() string

func (*Data) GetSource

func (x *Data) GetSource() string

func (*Data) GetTime

func (x *Data) GetTime() string

func (*Data) GetUser

func (x *Data) GetUser() string

func (*Data) GetWebrtcID

func (x *Data) GetWebrtcID() string

func (*Data) GetWebsocketID

func (x *Data) GetWebsocketID() string

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

func (x *Data) ProtoReflect() protoreflect.Message

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL