Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GRPCModule for fx. GRPCModule = fx.Options( fx.Provide(grpc.NewServer), fx.Provide(gtracer.NewTracer), ) // HTTPModule for fx. HTTPModule = fx.Options( fx.Provide(http.NewServer), fx.Provide(htracer.NewTracer), ) // Module for fx. Module = fx.Options( GRPCModule, HTTPModule, fx.Provide(NewServers), fx.Invoke(Register), ) )
Functions ¶
Types ¶
type Config ¶
type Config struct { GRPC *grpc.Config `yaml:"grpc,omitempty" json:"grpc,omitempty" toml:"grpc,omitempty"` HTTP *http.Config `yaml:"http,omitempty" json:"http,omitempty" toml:"http,omitempty"` }
Config for transport.
type RegisterParams ¶ added in v1.70.0
RegisterParams for transport.
Click to show internal directories.
Click to hide internal directories.