staticfile

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StaticfileConfigName = "Staticfile"
	CaddyfilePath        = "Caddyfile"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticfileConfig

type StaticfileConfig struct {
	RootDir string `yaml:"root"`
}

type StaticfileProvider

type StaticfileProvider struct {
	RootDir string
}

func (*StaticfileProvider) CaddyStartCommand

func (p *StaticfileProvider) CaddyStartCommand(ctx *generate.GenerateContext) string

func (*StaticfileProvider) Detect

func (*StaticfileProvider) Initialize added in v0.0.23

func (p *StaticfileProvider) Initialize(ctx *generate.GenerateContext) error

func (*StaticfileProvider) Name

func (p *StaticfileProvider) Name() string

func (*StaticfileProvider) Plan

func (*StaticfileProvider) Setup added in v0.0.23

func (*StaticfileProvider) StartCommandHelp added in v0.0.28

func (p *StaticfileProvider) StartCommandHelp() string

Jump to

Keyboard shortcuts

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