Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ UpdateAccessTime
Method
UpdateAccessTime
internal/nodes/http_client.go:30–32 ·
view source on GitHub ↗
UpdateAccessTime 更新访问时间
()
Source
from the content-addressed store, hash-verified
28
29
// UpdateAccessTime 更新访问时间
30
func
(this *HTTPClient) UpdateAccessTime() {
31
this.accessAt = fasttime.Now().Unix()
32
}
33
34
// AccessTime 获取访问时间
35
func
(this *HTTPClient) AccessTime() int64 {
Callers
1
Client
Method · 0.80
Calls
2
Now
Function · 0.92
Unix
Method · 0.80
Tested by
no test coverage detected