WithDefaultLNSURI configures the CUPS server with a default LNS URI to use when no Gateway Server address is registered for a gateway.
(uri string)
| 121 | // WithDefaultLNSURI configures the CUPS server with a default LNS URI to use when |
| 122 | // no Gateway Server address is registered for a gateway. |
| 123 | func 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 |
no outgoing calls