caddy_playlist

package module
v0.0.0-...-3d2b0b3 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 11 Imported by: 0

README

caddy-playlist

xcaddy build to build a custom caddy binary including this module or go build ./cmd/caddy

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlaylistServer

type PlaylistServer struct {
	Root string `json:"root,omitempty"`
}

func (PlaylistServer) CaddyModule

func (PlaylistServer) CaddyModule() caddy.ModuleInfo

func (*PlaylistServer) Provision

func (psrv *PlaylistServer) Provision(ctx caddy.Context) error

func (*PlaylistServer) ServeHTTP

func (psrv *PlaylistServer) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error

func (*PlaylistServer) UnmarshalCaddyfile

func (psrv *PlaylistServer) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

UnmarshalCaddyfile implements caddyfile.Unmarshaler.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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