Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallOptions ¶
type CallOptions struct { ContentSUbtype string `mapstructure:"content_subtype"` // https://pkg.go.dev/google.golang.org/grpc#WithUserAgent WaitForReady bool `mapstructure:"wait_for_ready"` // https://pkg.go.dev/google.golang.org/grpc#WaitForReady }
type DialOptions ¶
type DialOptions struct { Authority string `mapstructure:"authority"` // https://pkg.go.dev/google.golang.org/grpc#WithAuthority UserAgent string `mapstructure:"user_agent"` // https://pkg.go.dev/google.golang.org/grpc#WithUserAgent InactiveTransportPing time.Duration `mapstructure:"inactive_transport_ping"` // keepalive ClientParameters.Time InactiveTransportAge time.Duration `mapstructure:"inactive_transport_age"` // keepalive ClientParameters.Timeout PermitWithoutStream bool `mapstructure:"permit_without_stream"` // keepalive ClientParameters.PermitWithoutStream }
type Grpc ¶
type Grpc struct { *core.BaseOutput `mapstructure:"-"` EnableMetrics bool `mapstructure:"enable_metrics"` Address string `mapstructure:"address"` Procedure string `mapstructure:"procedure"` DialOptions DialOptions `mapstructure:"dial_options"` CallOptions CallOptions `mapstructure:"call_options"` MetadataLabels map[string]string `mapstructure:"metadatalabels"` *tls.TLSClientConfig `mapstructure:",squash"` *batcher.Batcher[*core.Event] `mapstructure:",squash"` *retryer.Retryer `mapstructure:",squash"` // contains filtered or unexported fields }
func (*Grpc) SetSerializer ¶
func (o *Grpc) SetSerializer(s core.Serializer)
Click to show internal directories.
Click to hide internal directories.