sigserver

package
v0.0.0-...-e1f7cad Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2017 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunUpdaterAndServer

func RunUpdaterAndServer(config Config) error

RunUpdaterAndServer is the functional entry point to the application. This function starts the HTTP server and the periodic task executor.

Types

type Config

type Config struct {
	UpdateConfig         sigupdate.Config
	Port                 uint16
	UpdateHourlyInterval uint16
}

Config is a data structure that encapsulates the configuration parameters used to run the sigserver application.

func ParseCliFlags

func ParseCliFlags(appVersionInfo utils.AppVersionInfo, defaults Config) Config

ParseCliFlags parses the CLI options passed to the application.

func ParseConfig

func ParseConfig(appVersionInfo utils.AppVersionInfo) Config

ParseConfig parses environment variables and command line options for the runtime configuration.

func ParseEnvVars

func ParseEnvVars(defaults Config) Config

ParseEnvVars parses environment variables for runtime configuration.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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