github.com/caddyserver/caddy

Caddy

Package caddy implements the Caddy server manager.

97

Decision Signals

Health score 97/100, confidence 100/100.

Excellent
Maintenance 95
Adoption 100
Security 92
Maturity 100
Developer DX 97
Confidence 100

Install

go get github.com/caddyserver/caddy

Package Data

updated May 28, 2026
Latest versionv1.0.5
Imported by510 packages
Stars72.8K
Forks4.8K
Last activityToday
Latest releasev2.11.3 (15 days ago)
LicenseApache-2.0
Known vuln records0

API Surface

123 symbols
SymbolKindSynopsis
AfterStartup Type type AfterStartup interface{ ... }
AfterStartup.OnStartupComplete Method OnStartupComplete func()
CaddyfileInput Type type CaddyfileInput struct{ ... }
CaddyfileInput.Body Method func (c CaddyfileInput) Body() []byte
CaddyfileInput.Contents Field Contents []byte
CaddyfileInput.Filepath Field Filepath string
CaddyfileInput.Path Method func (c CaddyfileInput) Path() string
CaddyfileInput.ServerType Method func (c CaddyfileInput) ServerType() string
CaddyfileInput.ServerTypeName Field ServerTypeName string
Context Type type Context interface{ ... }
Context.InspectServerBlocks Method InspectServerBlocks func(string, []caddyfile.ServerBlock) ([]caddyfile.ServerBlock, error)
Context.MakeServers Method MakeServers func() ([]Server, error)

Similar Packages

Go Security Middleware

#1 secure

Package secure is an HTTP middleware for Go that facilitates some quick security wins.

Go Security Middleware 2.3K stars 921 imported-by 65% confidence
91

#2 nosurf

Package nosurf implements an HTTP handler that mitigates Cross-Site Request Forgery Attacks.

Go Security Middleware 1.7K stars 2.5K imported-by 100% confidence
81

#3 gorilla/csrf

Package csrf (gorilla/csrf) provides Cross Site Request Forgery (CSRF) prevention middleware for Go web applications & services.

Go Security Middleware 1.2K stars 0 imported-by 80% confidence
69

#4 sslmgr

SSL certificates made easy with a high level wrapper around acme/autocert.

Go Security Middleware 0 stars 1 imported-by 80% confidence
53

#5 multikey

An n-out-of-N keys encryption/decryption framework based on Shamir's Secret Sharing algorithm.

Go Security Middleware 0 stars 0 imported-by 80% confidence
42