caddyZipFs

package
v0.0.0-...-24c89fc Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZipFs

type ZipFs struct {
	SourceZipPath string `json:"path"`
	// contains filtered or unexported fields
}

func (*ZipFs) CaddyModule

func (*ZipFs) CaddyModule() caddy.ModuleInfo

func (*ZipFs) Cleanup

func (z *ZipFs) Cleanup() error

func (*ZipFs) Open

func (z *ZipFs) Open(name string) (fs.File, error)

func (*ZipFs) Provision

func (z *ZipFs) Provision(caddy.Context) (err error)

func (*ZipFs) UnmarshalCaddyfile

func (z *ZipFs) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

UnmarshalCaddyfile unmarshals a zipfile instantiation from a Caddyfile.

Example syntax:

filesystem zf zipfile /path/to/my/website.zip

Jump to

Keyboard shortcuts

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