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

Method ReadBytes

c.go:50–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48// ConfProvider models a configuration provider. For example, file.Provider.
49type ConfProvider interface {
50 ReadBytes() ([]byte, error)
51 Read() (map[string]interface{}, error)
52}
53

Callers 2

TestRemoteFunction · 0.65
TestErrorFunction · 0.65

Implementers 1

ETCDconfig/remote/etcd/etcd.go

Calls

no outgoing calls

Tested by 2

TestRemoteFunction · 0.52
TestErrorFunction · 0.52