Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ContentSquare/chproxy
/ WithDefaultUser
Function
WithDefaultUser
internal/heartbeat/heartbeat.go:39–44 ·
view source on GitHub ↗
(user, password string)
Source
from the content-addressed store, hash-verified
37
}
38
39
func
WithDefaultUser(user, password string) Option {
40
return
defaultUser{
41
defaultUser: user,
42
defaultPassword: password,
43
}
44
}
45
46
type
heartBeat
struct
{
47
interval time.Duration
Callers
2
newCluster
Function · 0.92
TestNewHeartBeat
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestNewHeartBeat
Function · 0.68