msgSdkLog

package
v1.2.20 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeOperation = "operation" //获取日志级别
	TypeReport    = "report"    //日志上报
	TypeUpdate    = "update"    //日志级别改变推送
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Req

type Req struct {
	deviceMsg.CommonMsg
	Params []SdkLog `json:"params,optional"` //参数列表
}

func (*Req) GetTimeStamp

func (d *Req) GetTimeStamp(logTime int64) time.Time

func (*Req) VerifyReqParam

func (d *Req) VerifyReqParam() error

type SdkLog

type SdkLog struct {
	Content   string `json:"content"`
	Timestamp int64  `json:"timestamp,optional"`
	LogLevel  int64  `json:"logLevel,optional"`
}

Jump to

Keyboard shortcuts

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