server

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "Run php server"

Name is the command title.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cli.Command

NewCommand creates a new server command.

func Run

func Run(ctx context.Context, args []string) error

Run starts the platform lifecycle and waits for shutdown.

Types

type Module

type Module struct {
	platform.UnimplementedModule
	// contains filtered or unexported fields
}

Module implements the platform.Module interface.

func NewModule

func NewModule(root string) *Module

NewModule creates the HTTP module.

func (*Module) Mount

func (m *Module) Mount(ctx context.Context, r platform.Router) error

Mount registers HTTP routes.

Jump to

Keyboard shortcuts

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