Version: v2.10.1 Latest Latest

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

Go to latest
Published: Sep 5, 2021 License: Apache-2.0 Imports: 11 Imported by: 0



Update is a small go http server and script which maintains a local server upto date.


  • main.go - is a small net/http server which handles updates

    • Runs on port :9000
    • Returns latest commit, release and image at GET /update
    • Processes webhook updates at POST /update
    • Calls update.sh when there are any git updates
  • update.sh - a small script which updates local code

    • pulls latest go-micro
    • pulls latest micro
    • calls /etc/init.d/micro restart


Setup webhooks in dockerhub and in github to point to your /update endpoint

Additionally set a github secret and pass via env var

GITHUB_WEBHOOK_SECRET=foobar go run main.go


The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL