msgExt

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeNtp = "ntp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Req

type Req struct {
	deviceMsg.CommonMsg
}

type Resp

type Resp struct {
	*deviceMsg.CommonMsg
	DeviceSendTime int64 `json:"deviceSendTime"` //ntp设备发送毫秒时间戳
	ServerRecvTime int64 `json:"serverRecvTime"` //ntp云端接收毫秒时间戳
}

func (*Resp) GetTimeStamp

func (d *Resp) GetTimeStamp(defaultTime time.Time) time.Time

Jump to

Keyboard shortcuts

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