Go API Documentation

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

No package summary is available.

Package

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

Vars

Types

FileStorage

FileStorage is a certmagic.Storage wrapper for certmagic.FileStorage.

Field name Field type Comment
Root

string

The base path to the folder used for storage.

Functions

func (*FileStorage) UnmarshalCaddyfile

UnmarshalCaddyfile sets up the storage module from Caddyfile tokens.

func (FileStorage) CaddyModule

CaddyModule returns the Caddy module information.

func (FileStorage) CertMagicStorage

CertMagicStorage converts s to a certmagic.Storage instance.

Uses: certmagic.FileStorage.

Private functions

func init