pgcopy2header

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HeaderFromStdinDefault IO[PgcopySimpleHeader] = StdinToHeader

Functions

This section is empty.

Types

type PgcopySimpleHeader

type PgcopySimpleHeader struct {
	Signature       [11]byte
	Flags           [4]byte
	HeaderExtension [4]byte
}

func ReaderToHeader

func ReaderToHeader(rdr io.Reader) (PgcopySimpleHeader, error)

func StdinToHeader

func StdinToHeader(_ context.Context) (PgcopySimpleHeader, error)

Jump to

Keyboard shortcuts

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