runner

package
v0.0.0-...-a361e5b Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IServiceRunner

type IServiceRunner interface {
	Run() error
	String() string
}

IServiceRunner is tunning commandline commands

type ServiceRunner

type ServiceRunner struct {
	// contains filtered or unexported fields
}

ServiceRunner is running all commands

func New

func New(command IServiceRunner) *ServiceRunner

New creates new instance of ServiceRunner

func (*ServiceRunner) MustRun

func (r *ServiceRunner) MustRun()

MustRun runs service once and panics if service is broken

Jump to

Keyboard shortcuts

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