transport

package
v1.64.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Unlicense Imports: 7 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GRPCServerModule for fx.
	// nolint:gochecknoglobals
	GRPCServerModule = fx.Options(fx.Provide(grpc.NewServer), fx.Provide(grpc.UnaryServerInterceptor), fx.Provide(grpc.StreamServerInterceptor))

	// GRPCOpentracingModule for fx.
	// nolint:gochecknoglobals
	GRPCOpentracingModule = fx.Provide(gopentracing.NewTracer)

	// HTTPServerModule for fx.
	// nolint:gochecknoglobals
	HTTPServerModule = fx.Provide(http.NewServer)

	// HTTPOpentracingModule for fx.
	// nolint:gochecknoglobals
	HTTPOpentracingModule = fx.Provide(hopentracing.NewTracer)

	// NSQMsgPackMarshallerModule for fx.
	// nolint:gochecknoglobals
	NSQMsgPackMarshallerModule = fx.Provide(marshaller.NewMsgPack)
)

Functions

This section is empty.

Types

type Config

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

Config for transport.

Jump to

Keyboard shortcuts

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