filestorage

package
v2.0.0-...-4d08927 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 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 FileStorage

type FileStorage struct {
	// The base path to the folder used for storage.
	Root string `json:"root,omitempty"`
}

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

func (FileStorage) CaddyModule

func (FileStorage) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (FileStorage) CertMagicStorage

func (s FileStorage) CertMagicStorage() (certmagic.Storage, error)

CertMagicStorage converts s to a certmagic.Storage instance.

func (*FileStorage) UnmarshalCaddyfile

func (s *FileStorage) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

UnmarshalCaddyfile sets up the storage module from Caddyfile tokens.

Jump to

Keyboard shortcuts

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