MCPcopy Create free account
hub / github.com/DNAProject/DNA / UpdateRXTime

Method UpdateRXTime

p2pserver/link/link.go:106–108  ·  view source on GitHub ↗

record latest message time

(t time.Time)

Source from the content-addressed store, hash-verified

104
105//record latest message time
106func (this *Link) UpdateRXTime(t time.Time) {
107 this.time = t
108}
109
110//GetRXTime return the latest message time
111func (this *Link) GetRXTime() time.Time {

Callers 3

RxMethod · 0.95
TestNewLinkFunction · 0.80
UpdateInfoMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestNewLinkFunction · 0.64