runner

package
v0.0.1-alpha-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	Go(ctx context.Context, wg *sync.WaitGroup)
}

API is the interface for rest api runner

func NewAPI

func NewAPI(config config.Configuration, instance instance.Instance) API

NewAPI returns an instance of the REST API runner

type GRPC

type GRPC interface {
	Go(ctx context.Context, wg *sync.WaitGroup)
}

GRPC is the interface for gRPC runner

func NewGRPC

func NewGRPC(config config.Configuration, instance instance.Instance) GRPC

NewGRPC returns an instance of the gRPC runner

type Worker

type Worker interface {
	Go(ctx context.Context, shutDownChannel chan *bool, wg *sync.WaitGroup)
}

func NewWorker

func NewWorker(
	config config.Configuration,
	instance instance.Instance,
) Worker

Jump to

Keyboard shortcuts

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