Documentation ¶
Index ¶
- Constants
- func New(server io.Server, registry packages.Registry) packages.ApplicationPackageHandler
- type DeviceManagementPackage
- func (p *DeviceManagementPackage) HandleUp(ctx context.Context, def *ttnpb.ApplicationPackageDefaultAssociation, ...) (err error)
- func (p *DeviceManagementPackage) Package() *ttnpb.ApplicationPackage
- func (p *DeviceManagementPackage) RegisterHandlers(s *runtime.ServeMux, conn *grpc.ClientConn)
- func (p *DeviceManagementPackage) RegisterServices(s *grpc.Server)
Constants ¶
View Source
const PackageName = "lora-cloud-device-management-v1"
PackageName defines the package name.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeviceManagementPackage ¶
type DeviceManagementPackage struct {
// contains filtered or unexported fields
}
DeviceManagementPackage is the LoRa Cloud Device Management application package.
func (*DeviceManagementPackage) HandleUp ¶
func (p *DeviceManagementPackage) HandleUp(ctx context.Context, def *ttnpb.ApplicationPackageDefaultAssociation, assoc *ttnpb.ApplicationPackageAssociation, up *ttnpb.ApplicationUp) (err error)
HandleUp implements packages.ApplicationPackageHandler.
func (*DeviceManagementPackage) Package ¶ added in v3.9.2
func (p *DeviceManagementPackage) Package() *ttnpb.ApplicationPackage
Package implements packages.ApplicationPackageHandler.
func (*DeviceManagementPackage) RegisterHandlers ¶
func (p *DeviceManagementPackage) RegisterHandlers(s *runtime.ServeMux, conn *grpc.ClientConn)
RegisterHandlers implements packages.ApplicationPackageHandler.
func (*DeviceManagementPackage) RegisterServices ¶
func (p *DeviceManagementPackage) RegisterServices(s *grpc.Server)
RegisterServices implements packages.ApplicationPackageHandler.
Click to show internal directories.
Click to hide internal directories.