runner

package
v1.15.0-beta6 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 22 Imported by: 1

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