httpfs

package
v0.0.0-...-4dc1fac Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HFS

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

http file system

func NewHFS

func NewHFS(fsys fs.FS, opt ...HfsOption) *HFS

func (*HFS) Open

func (h *HFS) Open(name string) (http.File, error)

type HfsOption

type HfsOption func(*HfsOptions)

func WithIndexFile

func WithIndexFile(s string) HfsOption

func WithPathPrefix

func WithPathPrefix(s string) HfsOption

type HfsOptions

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

Jump to

Keyboard shortcuts

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