MCPcopy Create free account
hub / github.com/apache/kvrocks-controller / NewHandler

Function NewHandler

server/api/handler.go:35–43  ·  view source on GitHub ↗
(s *store.ClusterStore)

Source from the content-addressed store, hash-verified

33}
34
35func NewHandler(s *store.ClusterStore) *Handler {
36 return &Handler{
37 Namespace: &NamespaceHandler{s: s},
38 Cluster: &ClusterHandler{s: s},
39 Shard: &ShardHandler{s: s},
40 Node: &NodeHandler{s: s},
41 Raft: &RaftHandler{},
42 }
43}

Callers 1

initHandlersMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected