http

package
v1.25.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(fs afs.Service, dir string) http.FileSystem

New creates http filesystem

func NewFile

func NewFile(object storage.Object, fs afs.Service) (http.File, error)

NewFile creates a http.File

Types

type Filesystem

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

func (*Filesystem) Open

func (f *Filesystem) Open(name string) (http.File, error)

Jump to

Keyboard shortcuts

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