Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Default struct { UpdateChannel string `name:"update-channel" description:"The default update channel that the gateways should use"` MQTTServer string `name:"mqtt-server" description:"The default MQTT server that the gateways should use"` FirmwareURL string `name:"firmware-url" description:"The default URL to the firmware storage"` } `name:"default" description:"Default gateway settings"` }
Config is the configuration for The Things Kickstarter Gateway.
type Option ¶
type Option func(s *Server)
Option configures the Server.
func WithAuth ¶
func WithAuth(auth func(ctx context.Context) grpc.CallOption) Option
WithAuth overrides the Server's auth func.
func WithConfig ¶
WithConfig overrides the Server's configuration for The Things Gateway.
func WithRegistry ¶
func WithRegistry(registry ttnpb.GatewayRegistryClient) Option
WithRegistry overrides the Server's gateway registry.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements the CUPS endpoints used by The Things Gateway.
func (*Server) RegisterRoutes ¶
RegisterRoutes implements the web.Registerer interface.
Click to show internal directories.
Click to hide internal directories.