package
2.3.4+incompatible
Repository: https://github.com/thethingsnetwork/gateway-connector-bridge.git
Documentation: pkg.go.dev

# Functions

NewAccountServer returns a new AccountServerExchanger for the given TTN Account Server.
NewMemory returns a new authentication interface with an in-memory backend.
NewRedis returns a new authentication interface with a redis backend.

# Variables

DefaultRedisPrefix is used as prefix when no prefix is given.
ErrGatewayNotFound is returned when a gateway was not found.
ErrGatewayNoValidToken is returned when a gateway does not have a valid access token.

# Structs

AccountServerExchanger uses a TTN Account Server to exchange the key for a token.
Memory implements the authentication interface with an in-memory backend.
Redis implements the authentication interface with a Redis backend.

# Interfaces

Exchanger interface exchanges a gateway access key for a gateway token.
Interface for gateway authentication.