Go API Documentation

github.com/caddyserver/caddy/v2/modules/caddyfs

No package summary is available.

Package

Files: 1. Third party imports: 1. Imports from organisation: 0. Tests: 0. Benchmarks: 0.

Types

Filesystems

Filesystems loads caddy.fs modules into the global filesystem map

Field name Field type Comment
Filesystems

[]*moduleEntry

No comment on field.
defers

[]func()

No comment on field.

moduleEntry

This type doesn't have documentation.

Field name Field type Comment
Key

string

No comment on field.
FileSystemRaw

json.RawMessage

No comment on field.
fileSystem

fs.FS

No comment on field.

Functions

func (*Filesystems) Cleanup

func (*Filesystems) Provision

Uses: fmt.Errorf, fs.FS, zap.String.

func (*Filesystems) Start

func (*Filesystems) Stop

func (*moduleEntry) UnmarshalCaddyfile

Uses: caddyconfig.JSONModuleObject, caddyfile.UnmarshalModule, fs.FS.

func (Filesystems) CaddyModule

CaddyModule returns the Caddy module information.

Private functions

func init

References: httpcaddyfile.RegisterGlobalOption.

func parseFilesystems