stream

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StreamEventHandler

type StreamEventHandler = func(ctx context.Context, evt stats.Event, err error)

StreamEventHandler is used to handle stream events

type StreamingConfig

type StreamingConfig struct {
	RecvMiddlewareBuilders []endpoint.RecvMiddlewareBuilder
	RecvMiddlewares        []endpoint.RecvMiddleware

	SendMiddlewareBuilders []endpoint.SendMiddlewareBuilder
	SendMiddlewares        []endpoint.SendMiddleware
}

func (*StreamingConfig) BuildRecvInvokeChain

func (c *StreamingConfig) BuildRecvInvokeChain() endpoint.RecvEndpoint

func (*StreamingConfig) BuildSendInvokeChain

func (c *StreamingConfig) BuildSendInvokeChain() endpoint.SendEndpoint

func (*StreamingConfig) InitMiddlewares

func (c *StreamingConfig) InitMiddlewares(ctx context.Context)

Jump to

Keyboard shortcuts

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