grpc

package
v3.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(server io.Server, opts ...Option) ttnpb.GtwGsServer

New returns a new gRPC frontend.

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

Option represents an option for the gRPC frontend.

func WithMQTTConfigProvider

func WithMQTTConfigProvider(provider config.MQTTConfigProvider) Option

WithMQTTConfigProvider sets the MQTT configuration provider for the gRPC frontend.

func WithMQTTV2ConfigProvider

func WithMQTTV2ConfigProvider(provider config.MQTTConfigProvider) Option

WithMQTTV2ConfigProvider sets the MQTT v2 configuration provider for the gRPC frontend.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL