http

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpSource added in v1.3.0

func NewHttpSource(ctx context.Context, vertexInstance *dfv1.VertexInstance, opts ...Option) (sourcer.SourceReader, error)

NewHttpSource creates a new http source reader.

Types

type Option

type Option func(*httpSource) error

func WithBufferSize

func WithBufferSize(s int) Option

func WithReadTimeout

func WithReadTimeout(t time.Duration) Option

WithReadTimeout is used to set the read timeout for the from buffer

Jump to

Keyboard shortcuts

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