Versions in this module Expand all Collapse all v3 v3.7.3 Apr 29, 2020 Changes in this version + func TLSCredentials(trust *x509.Certificate, client *tls.Certificate) ([]byte, error) + func TokenCredentials(trust *x509.Certificate, authorization string) ([]byte, error) + type Option func(s *Server) + func WithAllowCUPSURIUpdate(allow bool) Option + func WithAuth(auth func(ctx context.Context) grpc.CallOption) Option + func WithDefaultLNSURI(uri string) Option + func WithExplicitEnable(enable bool) Option + func WithRegisterUnknown(owner *ttnpb.OrganizationOrUserIdentifiers, ...) Option + func WithRegistries(registry ttnpb.GatewayRegistryClient, access ttnpb.GatewayAccessClient) Option + func WithSigner(keyCRC uint32, signer crypto.Signer) Option + func WithTLSConfig(tlsConfig *tls.Config) Option + func WithTrust(cert *x509.Certificate) Option + type Server struct + func NewServer(c *component.Component, options ...Option) *Server + func (s *Server) RegisterRoutes(web *web.Server) + func (s *Server) UpdateInfo(c echo.Context) error + type ServerConfig struct + AllowCUPSURIUpdate bool + Default struct{ ... } + ExplicitEnable bool + RegisterUnknown struct{ ... } + func (conf ServerConfig) NewServer(c *component.Component, customOpts ...Option) *Server + type UpdateInfoRequest struct + CUPSCredentialsCRC uint32 + CUPSURI string + KeyCRCs []uint32 + LNSCredentialsCRC uint32 + LNSURI string + Model string + Package string + Router basicstation.EUI + Station string + type UpdateInfoResponse struct + CUPSCredentials []byte + CUPSURI string + LNSCredentials []byte + LNSURI string + Signature []byte + SignatureKeyCRC uint32 + UpdateData []byte + func (r *UpdateInfoResponse) UnmarshalBinary(data []byte) error + func (r UpdateInfoResponse) MarshalBinary() ([]byte, error)