MCPcopy
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}
36func WithAddr(addr string) Option {
37 return func(o *options) {
38 o.addr = addr
39 }
40}
41
42func WithSecret(secret string) Option {
43 return func(o *options) {

Callers 2

TestNewHConfig_ApolloFunction · 0.92
TestNewEtcdConfigFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestNewHConfig_ApolloFunction · 0.74
TestNewEtcdConfigFunction · 0.68