Directories
¶
| Path | Synopsis |
|---|---|
|
Package applicationregistry contains the implementation of an application registry service.
|
Package applicationregistry contains the implementation of an application registry service. |
|
Package auth provides methods to generate valid authorization values and to also decode them.
|
Package auth provides methods to generate valid authorization values and to also decode them. |
|
cluster
Package cluster contains cluster authentication-related utilities.
|
Package cluster contains cluster authentication-related utilities. |
|
pbkdf2
Package pbkdf2 implements the PBKDF2 algorithm method used to hash passwords.
|
Package pbkdf2 implements the PBKDF2 algorithm method used to hash passwords. |
|
rights
Package rights implements rights fetching and checking.
|
Package rights implements rights fetching and checking. |
|
Package band contains structs to handle regional bands
|
Package band contains structs to handle regional bands |
|
Package cluster defines an interface for clustering network components and provides a simple implementation.
|
Package cluster defines an interface for clustering network components and provides a simple implementation. |
|
Package component contains the methods and structures common to all components.
|
Package component contains the methods and structures common to all components. |
|
Package config wraps Viper.
|
Package config wraps Viper. |
|
example
command
example cobra command with config.
|
example cobra command with config. |
|
Package crypto implements LoRaWAN crypto.
|
Package crypto implements LoRaWAN crypto. |
|
Package deviceregistry contains the implementation of a device registry service.
|
Package deviceregistry contains the implementation of a device registry service. |
|
Package devicerepository allows to fetch device data from the Device Repository.
|
Package devicerepository allows to fetch device data from the Device Repository. |
|
encoding
|
|
|
lorawan
Package lorawan provides LoRaWAN decoding/encoding interfaces.
|
Package lorawan provides LoRaWAN decoding/encoding interfaces. |
|
Package errorcontext implements a Context that can be canceled with a specific error instead of the usual context.Canceled.
|
Package errorcontext implements a Context that can be canceled with a specific error instead of the usual context.Canceled. |
|
Package errors implements a common interface for errors to be communicated within and between components of a multi-service architecture.
|
Package errors implements a common interface for errors to be communicated within and between components of a multi-service architecture. |
|
Package errors implements rich errors that carry contextual information such as stack traces, causality and attributes.
|
Package errors implements rich errors that carry contextual information such as stack traces, causality and attributes. |
|
Package events implements event handling through a PubSub interface.
|
Package events implements event handling through a PubSub interface. |
|
fs
Package fs implements watching files for changes.
|
Package fs implements watching files for changes. |
|
redis
Package redis implements an events.PubSub implementation that uses Redis PubSub.
|
Package redis implements an events.PubSub implementation that uses Redis PubSub. |
|
Package fetch offers abstractions to fetch a file with the same method, regardless of a location (filesystem, HTTP...).
|
Package fetch offers abstractions to fetch a file with the same method, regardless of a location (filesystem, HTTP...). |
|
Package fillcontext implements a mechanism to fill contexts.
|
Package fillcontext implements a mechanism to fill contexts. |
|
Package frequencyplans contains abstractions to fetch and manipulate frequency plans.
|
Package frequencyplans contains abstractions to fetch and manipulate frequency plans. |
|
Package gatewayserver contains the structs and methods necessary to start a gRPC Gateway Server
|
Package gatewayserver contains the structs and methods necessary to start a gRPC Gateway Server |
|
scheduling
Package scheduling offer convenience methods to manage RF packets that must respect scheduling constraints.
|
Package scheduling offer convenience methods to manage RF packets that must respect scheduling constraints. |
|
Package gogoproto implements conversions from well-known gogo/profobuf types.
|
Package gogoproto implements conversions from well-known gogo/profobuf types. |
|
Package goproto implements conversions from well-known golang/profobuf types.
|
Package goproto implements conversions from well-known golang/profobuf types. |
|
Package gpstime provides utilities to work with GPS time.
|
Package gpstime provides utilities to work with GPS time. |
|
Package i18n helps with internationalization of registered messages.
|
Package i18n helps with internationalization of registered messages. |
|
Package identityserver provides the implementation of the Identity Server network component.
|
Package identityserver provides the implementation of the Identity Server network component. |
|
db
Package db implements a reusable interface around sql databases.
|
Package db implements a reusable interface around sql databases. |
|
db/migrations
Package migrations provides an implementation of a reusable migrations registry.
|
Package migrations provides an implementation of a reusable migrations registry. |
|
email
Package email provides a generic interface to send emails.
|
Package email provides a generic interface to send emails. |
|
email/mock
Package mock provides a test email provider that is used in tests.
|
Package mock provides a test email provider that is used in tests. |
|
email/sendgrid
Package sendgrid provides the implementation of an email sender using SendGrid.
|
Package sendgrid provides the implementation of an email sender using SendGrid. |
|
email/templates
Package templates provides a generic interface that templates used in emails must implements.
|
Package templates provides a generic interface that templates used in emails must implements. |
|
store
Package store provides generic interfaces to work with entities in databases.
|
Package store provides generic interfaces to work with entities in databases. |
|
store/sql
Package sql provides an implementation of the store using SQL databases.
|
Package sql provides an implementation of the store using SQL databases. |
|
store/sql/migrations
Package migrations contains an initialized registry with the SQL schema migrations.
|
Package migrations contains an initialized registry with the SQL schema migrations. |
|
Package joinserver provides a LoRaWAN 1.1-compliant Join Server implementation.
|
Package joinserver provides a LoRaWAN 1.1-compliant Join Server implementation. |
|
Package log contains all the structs to log TTN.
|
Package log contains all the structs to log TTN. |
|
handler/memory
Package memory implements a pkg/log.Handler that saves all entries in process memory
|
Package memory implements a pkg/log.Handler that saves all entries in process memory |
|
handler/multi
Package multi implements a pkg/log.Handler that applies every log message on multiple Handlers
|
Package multi implements a pkg/log.Handler that applies every log message on multiple Handlers |
|
middleware/filter
Package filter implements a pkg/log.Handler that only logs fields that match the specified filters
|
Package filter implements a pkg/log.Handler that only logs fields that match the specified filters |
|
middleware/sentry
Package sentry implements a pkg/log.Handler that sends errors to Sentry
|
Package sentry implements a pkg/log.Handler that sends errors to Sentry |
|
test
Package test exposes simple implementations of log interfaces that can be used for testing.
|
Package test exposes simple implementations of log interfaces that can be used for testing. |
|
Package marshaling implements marshaling, unmarshaling and diff functionality for structs and maps.
|
Package marshaling implements marshaling, unmarshaling and diff functionality for structs and maps. |
|
Package messageprocessors provides interfaces and implementations for processing uplink and downlink messages.
|
Package messageprocessors provides interfaces and implementations for processing uplink and downlink messages. |
|
cayennelpp
Package cayennelpp contains the CayenneLPP payload formatter message processors.
|
Package cayennelpp contains the CayenneLPP payload formatter message processors. |
|
javascript
Package javascript contains the Javascript payload formatter message processors.
|
Package javascript contains the Javascript payload formatter message processors. |
|
Package metrics creates the metrics registry and exposes some common metrics.
|
Package metrics creates the metrics registry and exposes some common metrics. |
|
Package mqtt contains MQTT-related utilities.
|
Package mqtt contains MQTT-related utilities. |
|
Package networkserver provides a LoRaWAN 1.1-compliant Network Server implementation.
|
Package networkserver provides a LoRaWAN 1.1-compliant Network Server implementation. |
|
Package random implements goroutine-safe utilities on top of a secure random source.
|
Package random implements goroutine-safe utilities on top of a secure random source. |
|
Package rpcclient contains the default options for TTN gRPC clients.
|
Package rpcclient contains the default options for TTN gRPC clients. |
|
Package rpcmetadata contains utilities for transporting common request metadata over gRPC.
|
Package rpcmetadata contains utilities for transporting common request metadata over gRPC. |
|
fillcontext
Package fillcontext implements a gRPC middleware that fills global context into a call context.
|
Package fillcontext implements a gRPC middleware that fills global context into a call context. |
|
hooks
Package hooks implements a gRPC middleware that executes service and method hooks.
|
Package hooks implements a gRPC middleware that executes service and method hooks. |
|
rpclog
Package rpclog implements a gRPC logging middleware.
|
Package rpclog implements a gRPC logging middleware. |
|
sentry
Package sentry implements gRPC middleware that forwards errors in RPCs to Sentry
|
Package sentry implements gRPC middleware that forwards errors in RPCs to Sentry |
|
warning
Package warning communicates warnings over gRPC headers.
|
Package warning communicates warnings over gRPC headers. |
|
Package rpcserver initializes The Things Network's base gRPC server
|
Package rpcserver initializes The Things Network's base gRPC server |
|
Package scripting provides a generic abstraction layer for running scripts at runtime.
|
Package scripting provides a generic abstraction layer for running scripts at runtime. |
|
javascript
Package javascript implements a Javascript scripting engine.
|
Package javascript implements a Javascript scripting engine. |
|
Package store defines generic storage interfaces and provides deterministic data encoding and decoding mechanisms, as well as utilities associated with this process.
|
Package store defines generic storage interfaces and provides deterministic data encoding and decoding mechanisms, as well as utilities associated with this process. |
|
mapstore
Package mapstore provides an example implementation of store.TypedMapStore, which is used for testing.
|
Package mapstore provides an example implementation of store.TypedMapStore, which is used for testing. |
|
redis
Package redis provides implementations of interfaces defined in store.
|
Package redis provides implementations of interfaces defined in store. |
|
storetest
Package storetest provides a test suite to test implementations of interfaces defined in store.
|
Package storetest provides a test suite to test implementations of interfaces defined in store. |
|
Package toa provides methods for computing a LoRaWAN packet's time-on-air
|
Package toa provides methods for computing a LoRaWAN packet's time-on-air |
|
Package ttnpb is a reverse proxy.
|
Package ttnpb is a reverse proxy. |
|
Package types contains basic types that are used in The Things Network's protobuf messages.
|
Package types contains basic types that are used in The Things Network's protobuf messages. |
|
Package unique provides functionality for working with unique identifiers of entities within a context.
|
Package unique provides functionality for working with unique identifiers of entities within a context. |
|
util
|
|
|
randutil
Package randutil provides pseudo-random number generator utilities.
|
Package randutil provides pseudo-random number generator utilities. |
|
rpctest
Package rpctest is a generated protocol buffer package.
|
Package rpctest is a generated protocol buffer package. |
|
Package validate implements validation functions, usually used RPC message validation.
|
Package validate implements validation functions, usually used RPC message validation. |
|
Package version contains version and build variables set by the CI process.
|
Package version contains version and build variables set by the CI process. |
Click to show internal directories.
Click to hide internal directories.