Documentation ¶
Overview ¶
Package ttgc implements configuration and a client for The Things Gateway Controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *grpc.ClientConn // contains filtered or unexported fields }
Client is a client for The Things Gateway Controller.
type Component ¶
type Component interface {
GetTLSClientConfig(context.Context, ...tlsconfig.Option) (*tls.Config, error)
}
Component is the component interface required for this package.
type Config ¶
type Config struct { Enabled bool `name:"enabled" description:"Enable The Things Gateway Controller"` GatewayEUIs []types.EUI64Prefix `name:"gateway-euis" description:"Gateway EUI prefixes that are managed by The Things Gateway Controller"` //nolint:lll Address string `name:"address" description:"The address of The Things Gateway Controller"` Domain string `name:"domain" description:"The domain of this cluster"` TLS tlsconfig.ClientAuth `name:"tls" description:"TLS configuration"` }
Config is the configuration for The Things Gateway Controller.
Click to show internal directories.
Click to hide internal directories.