MCPcopy
hub / github.com/aceld/zinx / updateActivity

Method updateActivity

znet/kcp_connection.go:575–577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

573}
574
575func (c *KcpConnection) updateActivity() {
576 c.lastActivityTime = time.Now()
577}
578
579func (c *KcpConnection) SetHeartBeat(checker ziface.IHeartbeatChecker) {
580 c.hc = checker

Callers 2

StartReaderMethod · 0.95
StartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected