Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gateway ¶
type Gateway struct {
// contains filtered or unexported fields
}
func New ¶
func New(params *GatewayParams) *Gateway
func (*Gateway) Start ¶
func (g *Gateway) Start(opt *GatewayOptions) error
type GatewayOptions ¶
type GatewayOptions struct { // TLSGRPC configures secure transport for gRPC endpoint to collect spans TLSGRPC tlscfg.Options // contains filtered or unexported fields }
GatewayOptions holds configuration for gateway
func (*GatewayOptions) InitFromViper ¶
func (cOpts *GatewayOptions) InitFromViper(v *viper.Viper) *GatewayOptions
InitFromViper initializes gatewayOptions with properties from viper
type GatewayParams ¶
Click to show internal directories.
Click to hide internal directories.