MCPcopy Create free account
hub / github.com/DoNewsCode/core / Factory

Struct Factory

otetcd/factory.go:15–17  ·  view source on GitHub ↗

Factory is a *di.Factory that creates *clientv3.Client using a specific configuration entry.

Source from the content-addressed store, hash-verified

13// Factory is a *di.Factory that creates *clientv3.Client using a
14// specific configuration entry.
15type Factory struct {
16 *di.Factory
17}
18
19// Make creates *clientv3.Client using a specific configuration entry.
20func (r Factory) Make(name string) (*clientv3.Client, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected