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

Method FrequencyPlansFetcher

pkg/config/shared.go:528–532  ·  view source on GitHub ↗

FrequencyPlansFetcher returns a fetch.Interface based on the frequency plans configuration. If no configuration source is set, this method returns nil, nil.

(
	ctx context.Context, httpClientProvider httpclient.Provider,
)

Source from the content-addressed store, hash-verified

526// FrequencyPlansFetcher returns a fetch.Interface based on the frequency plans configuration.
527// If no configuration source is set, this method returns nil, nil.
528func (c ServiceBase) FrequencyPlansFetcher(
529 ctx context.Context, httpClientProvider httpclient.Provider,
530) (fetch.Interface, error) {
531 return c.FrequencyPlans.Fetcher(ctx, c.Blob, httpClientProvider)
532}
533
534// MQTT contains the listen and public addresses of an MQTT frontend.
535type MQTT struct {

Callers 1

NewFunction · 0.80

Calls 1

FetcherMethod · 0.45

Tested by

no test coverage detected