MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / ReadFile

Method ReadFile

pkg/config/tlsconfig/config.go:135–135  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

133// FileReader is the interface used to read TLS certificates and keys.
134type FileReader interface {
135 ReadFile(filename string) ([]byte, error)
136}
137
138type fetcherFileReader struct {

Callers 15

fixBunSplitFunction · 0.65
loadFileMethod · 0.65
CheckNewFilesMethod · 0.65
FileMethod · 0.65
testBandFunction · 0.65
compareMessageToGoldenFunction · 0.65
TestMailDirFunction · 0.65
TestHTTPFunction · 0.65
TestInteropTLSFunction · 0.65
ReadFileFunction · 0.65
util_test.goFile · 0.65
fetchSenderClientCAsFunction · 0.65

Implementers 1

fetcherFileReaderpkg/config/tlsconfig/config.go

Calls

no outgoing calls

Tested by 8

testBandFunction · 0.52
compareMessageToGoldenFunction · 0.52
TestMailDirFunction · 0.52
TestHTTPFunction · 0.52
TestInteropTLSFunction · 0.52
TestMarshalersFunction · 0.52
TestProfileFunction · 0.52
TestOpenConnectionFunction · 0.52