ttnv2

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSource

func NewSource(ctx context.Context, flags *pflag.FlagSet) (source.Source, error)

NewSource creates a new TTNv2 Source.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source implements the Source interface.

func (*Source) Close

func (s *Source) Close() error

Close implements the Source interface.

func (*Source) ExportDevice

func (s *Source) ExportDevice(devID string) (*ttnpb.EndDevice, error)

ExportDevice implements the source.Source interface.

func (*Source) RangeDevices

func (s *Source) RangeDevices(_ string, f func(source.Source, string) error) error

RangeDevices implements the source.Source interface.

Jump to

Keyboard shortcuts

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