Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheThingsNetwork/lorawan-stack
/ File
Method
File
pkg/fetch/fetch.go:80–80 ·
view source on GitHub ↗
(pathElements ...string)
Source
from the content-addressed store, hash-verified
78
// Interface is an abstraction for file retrieval.
79
type
Interface
interface
{
80
File(pathElements ...string) ([]byte, error)
81
}
82
83
type
baseFetcher
struct
{
Callers
15
ExampleNewMemFetcher
Function · 0.65
TestMemFetcher
Function · 0.65
Example
Function · 0.65
TestFilesystem
Function · 0.65
TestBucket
Function · 0.65
TestWithBasePath
Function · 0.65
File
Method · 0.65
TestHTTP
Function · 0.65
NewUpstream
Function · 0.65
NewCAStore
Function · 0.65
fetchSenderClientCAs
Function · 0.65
NewClient
Function · 0.65
Calls
no outgoing calls
Tested by
7
ExampleNewMemFetcher
Function · 0.52
TestMemFetcher
Function · 0.52
Example
Function · 0.52
TestFilesystem
Function · 0.52
TestBucket
Function · 0.52
TestWithBasePath
Function · 0.52
TestHTTP
Function · 0.52