deviceclaimingserver

package
v3.26.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package deviceclaimingserver implements the Device Claiming Server component.

Index

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

type DeviceClaimingServer struct {
	*component.Component
	// contains filtered or unexported fields
}

DeviceClaimingServer is the Device Claiming Server.

func New

func New(c *component.Component, conf *Config, opts ...Option) (*DeviceClaimingServer, error)

New returns a new Device Claiming component.

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) RegisterServices

func (dcs *DeviceClaimingServer) RegisterServices(s *grpc.Server)

RegisterServices registers services provided by dcs at s.

func (*DeviceClaimingServer) Roles

Roles returns the roles that the Device Claiming Server fulfills.

type Option

type Option func(*DeviceClaimingServer)

Option configures GatewayClaimingServer.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL