transport

package
v1.58.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Unlicense Imports: 9 Imported by: 8

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))

	// GRPCJaegerModule for fx.
	// nolint:gochecknoglobals
	GRPCJaegerModule = fx.Provide(gjaeger.NewTracer)

	// GRPCDataDogModule for fx.
	// nolint:gochecknoglobals
	GRPCDataDogModule = fx.Provide(gdatadog.NewTracer)

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

	// GRPCJaegerModule for fx.
	// nolint:gochecknoglobals
	HTTPJaegerModule = fx.Provide(hjaeger.NewTracer)

	// GRPCDataDogModule for fx.
	// nolint:gochecknoglobals
	HTTPDataDogModule = fx.Provide(hdatadog.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