xcaddycmd

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CustomVersion string

CustomVersion is an optional string that overrides xcaddy's reported version. It can be helpful when downstream packagers need to manually set xcaddy's version, since building as the main module causes debug.ReadBuildInfo() to report "(devel)".

Set this variable during `go build` with `-ldflags`:

-ldflags '-X github.com/caddyserver/xcaddy/cmd.CustomVersion=v0.4.4'

for example.

Functions

func Main

func Main()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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