Registry / utility / inconshreveable-go-update

inconshreveable-go-update

JSON →
library0.0.0-20160112193335-8152e7eb6ccfgogounverified

Provides functionality to implement secure, self-updating Go programs with support for binary patches and cryptographic verification.

go get github.com/inconshreveable/go-update
INSTALL
IMPORT
SIG · INCONSHREVEABLE-GO
I
inconshreveable-go-update
utilitygov0.0.0-20160112193335-8152e7eb6ccf
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.

update
github.com/inconshreveable/go-update

Basic example of applying an update (simplified).

package main import ( "github.com/inconshreveable/go-update" ) func main() { err := update.Apply(nil, update.Options{}) if err != nil { panic(err) } }
Debug
Known issues
gotchaThe package only supports self-updating single-binary applications; it does not handle multi-file or asset-based updates.
fix
Ensure your application is distributed as a single binary, or use tools like go-bindata to embed assets.
affects: all
Upgrade
Version history
0.0.0-20160112193335-8152e7eb6ccflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
inconshreveable-go-update — go get inconshreveable-go-update · libregistry