stream

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MessageChanFullError   = errors.New("message channel is full")
	MessageChanClosedError = errors.New("message channel is closed")
	SendMessageError       = errors.New("send message error")
)

Functions

This section is empty.

Types

type Client

type Client[T any] struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient[T any](grpcClient grpc.ServerStreamingServer[T], bufferSize uint32) *Client[T]

func (*Client[T]) Process

func (client *Client[T]) Process(ctx context.Context) error

func (*Client[T]) Send

func (client *Client[T]) Send(message *T) error

Jump to

Keyboard shortcuts

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