Registry / utility / cloudflare-tableflip

cloudflare-tableflip

JSON →
library1.2.3gogounverified

Package tableflip implements zero downtime upgrades for Go applications.

go get github.com/cloudflare/tableflip
INSTALL
IMPORT
SIG · CLOUDFLARE-TABLEFL
C
cloudflare-tableflip
utilitygov1.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tableflip
github.com/cloudflare/tableflip

Creates a tableflip upgrade instance and serves HTTP with zero-downtime upgrades.

package main import ( "log" "net/http" "github.com/cloudflare/tableflip" ) func main() { upg, _ := tableflip.New(tableflip.Options{}) defer upg.Stop() go func() { sig := <-upg.Upgrade() log.Printf("Upgrade signal received: %v", sig) }() http.Serve(upg.Listener(), nil) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
cloudflare-tableflip — go get cloudflare-tableflip · libregistry