fetch

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveBytes

func ResolveBytes(ctx context.Context, relPath string, sources []SourceConfig, opts ResolveOptions) ([]byte, error)

Types

type ResolveOptions

type ResolveOptions struct {
	OfflineOnly bool
	MaxBytes    int64
	Timeout     time.Duration
}

type SourceConfig

type SourceConfig struct {
	Type string
	Path string
	URL  string
}

Jump to

Keyboard shortcuts

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