updateredirector

command
v0.0.0-...-39b05dd Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

* This is a quick prototype of a server that handles update requests from devices. * At present it doesn't do much, but shows what's possible. * * --fw_map specifies a map of version pattern -> update URL: --fw_map v1=u1,v2=u2,... * Version reported by the firmware is matched against patterns in order and if a pattern matches, * a redirect response to the corresponding URL is sent (note that firmware supports only absolute URLs). * An empty URL is an explicit instruction to do nothing (sends a 304 response). * The same happens if reported version does not match any of the patterns. * Example: * --fw_map 123=https://server1/v456.zip,456=https://server2/v789.zip

Jump to

Keyboard shortcuts

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