Back to

Package runtime

Latest Go to latest

The latest major version is .

Published: Jun 28, 2019 | License: MIT | Module:


type Function

type Function func(ctx context.Context, input string) (output string, err error)

type Supervisor

type Supervisor struct {
	// contains filtered or unexported fields

func NewSupervisor

func NewSupervisor(name string, function Function) *Supervisor

func (Supervisor) Close

func (s Supervisor) Close() error

func (Supervisor) Run

func (s Supervisor) Run(laddr string) error

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier