transport

package
v1.94.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Unlicense Imports: 14 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Register added in v1.70.0

func Register(params RegisterParams)

Register all the transports.

Types

type Config

type Config struct {
	GRPC grpc.Config `yaml:"grpc" json:"grpc" toml:"grpc"`
	HTTP http.Config `yaml:"http" json:"http" toml:"http"`
	NSQ  nsq.Config  `yaml:"nsq" json:"nsq" toml:"nsq"`
}

Config for transport.

type RegisterParams added in v1.70.0

type RegisterParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Config    *Config
	HTTP      *http.Server
	GRPC      *grpc.Server
}

RegisterParams for transport.

Jump to

Keyboard shortcuts

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