Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hwholiday/learning_tools
/ WithAddr
Function
WithAddr
hconfig/apollo/options.go:36–40 ·
view source on GitHub ↗
(addr string)
Source
from the content-addressed store, hash-verified
34
}
35
}
36
func
WithAddr(addr string) Option {
37
return
func
(o *options) {
38
o.addr = addr
39
}
40
}
41
42
func
WithSecret(secret string) Option {
43
return
func
(o *options) {
Callers
2
TestNewHConfig_Apollo
Function · 0.92
TestNewEtcdConfig
Function · 0.85
Calls
no outgoing calls
Tested by
2
TestNewHConfig_Apollo
Function · 0.74
TestNewEtcdConfig
Function · 0.68