Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1buran/rHttp
/ SetResTime
Method
SetResTime
statusbar.go:150–152 ·
view source on GitHub ↗
Set last response time.
(t time.Duration)
Source
from the content-addressed store, hash-verified
148
149
// Set last response time.
150
func
(s *StatusBar) SetResTime(t time.Duration) {
151
s.resTime = t
152
}
153
154
// Set last response status code.
155
func
(s *StatusBar) SetResStatusCode(c int) {
Callers
1
Update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected