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

Function WithTLSConfig

pkg/basicstation/cups/server.go:140–144  ·  view source on GitHub ↗

WithTLSConfig configures the CUPS server with the given TLS config that will be used to lookup CUPS/LNS Root CAs.

(tlsConfig *tls.Config)

Source from the content-addressed store, hash-verified

138// WithTLSConfig configures the CUPS server with the given TLS config that will
139// be used to lookup CUPS/LNS Root CAs.
140func WithTLSConfig(tlsConfig *tls.Config) Option {
141 return func(s *Server) {
142 s.tlsConfig = tlsConfig
143 }
144}
145
146// WithSigner configures the CUPS server with a firmware signer.
147func WithSigner(keyCRC uint32, signer stdcrypto.Signer) Option {

Callers 1

NewServerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected