Documentation ¶ Index ¶ func NewSource(ctx context.Context, flags *pflag.FlagSet) (source.Source, error) type Source func (p *Source) Close() error func (p *Source) ExportDevice(devEui string) (*ttnpb.EndDevice, error) func (p *Source) RangeDevices(id string, f func(source.Source, string) error) error 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 ChirpStack Source. Types ¶ type Source ¶ type Source struct { // contains filtered or unexported fields } Source implements the Source interface. func (*Source) Close ¶ func (p *Source) Close() error Close implements the Source interface. func (*Source) ExportDevice ¶ func (p *Source) ExportDevice(devEui string) (*ttnpb.EndDevice, error) ExportDevice implements the Source interface. func (*Source) RangeDevices ¶ func (p *Source) RangeDevices(id string, f func(source.Source, string) error) error RangeDevices implements the Source interface. Source Files ¶ View all Source files chirpstack.go config.go errors.go log.go source.go token.go util.go Click to show internal directories. Click to hide internal directories.