qrcodegenerator

package
v3.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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 Config

type Config struct {
}

Config represents the QRCodeGenerator configuration.

type QRCodeGenerator

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

QRCodeGenerator implements the QR Code Generator component.

The QR Code Generator exposes the EndDeviceQRCodeGenerator service.

func New

func New(c *component.Component, conf *Config) (*QRCodeGenerator, error)

New returns a new *QRCodeGenerator.

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 (qrg *QRCodeGenerator) Roles() []ttnpb.ClusterRole

Roles returns the roles that the QR Code Generator fulfills.

Jump to

Keyboard shortcuts

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