server

package
v1.47.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EOF    = "EOF" // end of file
	Kind   = "runner"
	Layout = "20060102150405"
)
View Source
const (
	Prefix = "pipego-runner-file-"
	Tmp    = "/tmp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr   string
	Logger hclog.Logger
}

func DefaultConfig

func DefaultConfig() *Config

type Server

type Server interface {
	Init(context.Context) error
	Deinit(context.Context) error
	Run(context.Context) error
}

func New

func New(_ context.Context, cfg *Config) Server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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