runner

package
v0.0.0-...-359c0b8 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ServerHost               string
	ServerPort               string
	DefaultAudience          string
	TokenSourceCacheDuration string
	DebugGoproxy             bool
}

Config represents configuration options

type Proc

type Proc interface {
	Start(ctx context.Context) (<-chan error, error)
	Stop() error
}

Proc represents main process

type Runner

type Runner interface {
	Start(ctx context.Context) error
}

Runner represents main routine interface

func New

func New(config *Config) (Runner, error)

New returns Runner instance

Jump to

Keyboard shortcuts

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