rest

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupMux

func SetupMux(ctx context.Context, cfg proxyConfig) *http.ServeMux

func SetupViper

func SetupViper() *viper.Viper

SetupViper returns a viper configuration object

func SignalRunner

func SignalRunner(runner, stopper func())

SignalRunner runs a runner function until an interrupt signal is received, at which point it will call stopper.

func Start

func Start()

Types

This section is empty.

Jump to

Keyboard shortcuts

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