Documentation ¶
Overview ¶
Package qrcodegenerator provides QR code generation services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v3.19.1
type Option func(*QRCodeGenerator)
Option configures QRCodeGenerator.
func WithEndDeviceFormat ¶ added in v3.19.1
func WithEndDeviceFormat(id string, f enddevices.Format) Option
WithEndDeviceFormat configures QRCodeGenerator with an EndDeviceFormat.
type QRCodeGenerator ¶
QRCodeGenerator implements the QR Code Generator component.
The QR Code Generator exposes the EndDeviceQRCodeGenerator service.
func (*QRCodeGenerator) Context ¶
func (qrg *QRCodeGenerator) Context() context.Context
Context returns the context of the QR Code Generator.
func (*QRCodeGenerator) RegisterHandlers ¶
func (qrg *QRCodeGenerator) RegisterHandlers(s *runtime.ServeMux, conn *grpc.ClientConn)
RegisterHandlers registers gRPC handlers.
func (*QRCodeGenerator) RegisterServices ¶
func (qrg *QRCodeGenerator) RegisterServices(s *grpc.Server)
RegisterServices registers services provided by qrg at s.
func (*QRCodeGenerator) Roles ¶
func (*QRCodeGenerator) Roles() []ttnpb.ClusterRole
Roles returns the roles that the QR Code Generator fulfills.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.