stream_context

package
v1.19.9 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Metrics metrics.Metrics
	Logger  *log.Logger
	// contains filtered or unexported fields
}

func CreateContext

func CreateContext(pipelineId int64) *Context

func (*Context) GetContext

func (c *Context) GetContext() context.Context

func (*Context) OffsetStorage

func (c *Context) OffsetStorage() offset_storage.OffsetStorage

func (*Context) PipelineId

func (c *Context) PipelineId() int64

func (*Context) SetMetrics

func (c *Context) SetMetrics(mtr metrics.Metrics)

func (*Context) SetOffsetStorage

func (c *Context) SetOffsetStorage(ofsSt offset_storage.OffsetStorage)

Jump to

Keyboard shortcuts

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