scanner

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithDelim

func WithDelim(delim []byte) func(*Scanner)

Types

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func NewScanner

func NewScanner(reader io.Reader, opts ...func(*Scanner)) *Scanner

func (*Scanner) Recv

func (s *Scanner) Recv(ctx context.Context) (kawa.Message[[]byte], func(), error)

func (*Scanner) Run

func (s *Scanner) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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