runner

package
v0.20.11 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

func RunWithSettings

func RunWithSettings(ctx context.Context, service *loggingservice.Server, clientSettings Settings) error

func StartAccessLog

func StartAccessLog(ctx context.Context, clientSettings Settings, service *loggingservice.Server) error

Types

type Settings

type Settings struct {
	DebugPort   int    `envconfig:"DEBUG_PORT" default:"9091"`
	ServerPort  int    `envconfig:"SERVER_PORT" default:"8083"`
	ServiceName string `envconfig:"SERVICE_NAME" default:"AccessLog"`
}

func NewSettings

func NewSettings() Settings

Jump to

Keyboard shortcuts

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