api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupHTTPUpdates

func SetupHTTPUpdates(apiToken string, updateFunction func()) error

SetupHTTPUpdates configures the endpoint needed for triggering updates via http

func WaitForHTTPUpdates

func WaitForHTTPUpdates() error

WaitForHTTPUpdates starts the http server and listens for requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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