Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hwholiday/learning_tools
/ WithCluster
Function
WithCluster
hconfig/apollo/options.go:31–35 ·
view source on GitHub ↗
(cluster string)
Source
from the content-addressed store, hash-verified
29
}
30
31
func
WithCluster(cluster string) Option {
32
return
func
(o *options) {
33
o.cluster = cluster
34
}
35
}
36
func
WithAddr(addr string) Option {
37
return
func
(o *options) {
38
o.addr = addr
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