Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DoNewsCode/core
/ mockMaker
Struct
mockMaker
leader/dependency_test.go:21–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
)
20
21
type
mockMaker
struct
{
22
name string
23
endpoints []string
24
}
25
26
func
(m *mockMaker) Make(name string) (*clientv3.Client, error) {
27
m.name = name
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected