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

Function WithAllowCUPSURIUpdate

pkg/basicstation/cups/server.go:115–119  ·  view source on GitHub ↗

WithAllowCUPSURIUpdate configures the CUPS server to allow updates of the CUPS Server URI.

(allow bool)

Source from the content-addressed store, hash-verified

113// WithAllowCUPSURIUpdate configures the CUPS server to allow updates of the CUPS
114// Server URI.
115func WithAllowCUPSURIUpdate(allow bool) Option {
116 return func(s *Server) {
117 s.allowCUPSURIUpdate = allow
118 }
119}
120
121// WithDefaultLNSURI configures the CUPS server with a default LNS URI to use when
122// no Gateway Server address is registered for a gateway.

Callers 2

NewServerFunction · 0.85
TestServerFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestServerFunction · 0.68