walk

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WalkBucket

func WalkBucket(ctx context.Context, opts *WalkOptions, bucket *blob.Bucket) error

func WalkSmithsonianRecord added in v0.0.4

func WalkSmithsonianRecord(ctx context.Context, opts *WalkOptions, bucket *blob.Bucket, uri string) error

Types

type WalkOptions

type WalkOptions struct {
	URI          string
	Workers      int
	ValidateJSON bool
	FormatJSON   bool
	QuerySet     *query.QuerySet
	Callback     WalkRecordCallbackFunc
	IsBzip       bool
	Filter       jw.WalkFilterFunc
}

type WalkRecordCallbackFunc

type WalkRecordCallbackFunc func(context.Context, *jw.WalkRecord, error) error

Jump to

Keyboard shortcuts

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