Documentation ¶
Index ¶
- type Config
- type DeviceClaimingServer
- func (dcs *DeviceClaimingServer) Context() context.Context
- func (dcs *DeviceClaimingServer) RegisterHandlers(s *runtime.ServeMux, conn *grpc.ClientConn)
- func (dcs *DeviceClaimingServer) RegisterRoutes(server *web.Server)
- func (dcs *DeviceClaimingServer) RegisterServices(s *grpc.Server)
- func (dcs *DeviceClaimingServer) Roles() []ttnpb.ClusterRole
- type Fallback
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
EndDeviceClaimingServerConfig enddevices.Config `name:"edcs"`
}
Config is the configuration for the Device Claiming Server.
type DeviceClaimingServer ¶
DeviceClaimingServer is the Device Claiming Server.
func (*DeviceClaimingServer) Context ¶
func (dcs *DeviceClaimingServer) Context() context.Context
Context returns the context of the Device Claiming Server.
func (*DeviceClaimingServer) RegisterHandlers ¶
func (dcs *DeviceClaimingServer) RegisterHandlers(s *runtime.ServeMux, conn *grpc.ClientConn)
RegisterHandlers registers gRPC handlers.
func (*DeviceClaimingServer) RegisterRoutes ¶
func (dcs *DeviceClaimingServer) RegisterRoutes(server *web.Server)
RegisterRoutes implements web.Registerer. It registers the Device Claiming Server to the web server.
func (*DeviceClaimingServer) RegisterServices ¶
func (dcs *DeviceClaimingServer) RegisterServices(s *grpc.Server)
RegisterServices registers services provided by dcs at s.
func (*DeviceClaimingServer) Roles ¶
func (dcs *DeviceClaimingServer) Roles() []ttnpb.ClusterRole
Roles returns the roles that the Device Claiming Server fulfills.
type Fallback ¶ added in v3.18.2
type Fallback interface { web.Registerer Claim(ctx context.Context, req *ttnpb.ClaimEndDeviceRequest) (ids *ttnpb.EndDeviceIdentifiers, err error) AuthorizeApplication(context.Context, *ttnpb.AuthorizeApplicationRequest) (*pbtypes.Empty, error) }
Fallback defines methods for the fallback server. TODO: Remove this interface (https://github.com/TheThingsIndustries/lorawan-stack/issues/3036).
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package enddevices provides functions to configure End Device claiming clients.
|
Package enddevices provides functions to configure End Device claiming clients. |
ttjsv2
Package ttjsv2 provides the claiming client implementation for The Things Join Server 2.0 API.
|
Package ttjsv2 provides the claiming client implementation for The Things Join Server 2.0 API. |
Click to show internal directories.
Click to hide internal directories.