staticfile

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 6 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{}

func (*StaticfileProvider) CaddyStartCommand

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

func (*StaticfileProvider) Detect

func (*StaticfileProvider) Name

func (p *StaticfileProvider) Name() string

func (*StaticfileProvider) Packages

func (p *StaticfileProvider) Packages(ctx *generate.GenerateContext)

func (*StaticfileProvider) Plan

func (*StaticfileProvider) SetupCaddy

Jump to

Keyboard shortcuts

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