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

Function WithDefaultLNSURI

pkg/basicstation/cups/server.go:123–127  ·  view source on GitHub ↗

WithDefaultLNSURI configures the CUPS server with a default LNS URI to use when no Gateway Server address is registered for a gateway.

(uri string)

Source from the content-addressed store, hash-verified

121// WithDefaultLNSURI configures the CUPS server with a default LNS URI to use when
122// no Gateway Server address is registered for a gateway.
123func WithDefaultLNSURI(uri string) Option {
124 return func(s *Server) {
125 s.defaultLNSURI = uri
126 }
127}
128
129// WithTrust configures the CUPS server to return the given certificate to gateways
130// as trusted certificate for the CUPS server. This should typically be the certificate

Callers 2

NewServerFunction · 0.85
TestServerFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestServerFunction · 0.68