runtime

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.1.0

type Config struct {
	ServicePort       int32
	MetricsPort       int32
	ServiceSocketPath string
	ServiceCertPath   string
	ServiceKeyPath    string

	ProviderArgs    sync.ProviderArgs
	SyncURI         []string
	SyncBearerToken string

	CORS []string
}

type Runtime added in v0.1.0

type Runtime struct {
	Service  service.IService
	SyncImpl []sync.ISync

	Evaluator eval.IEvaluator
	Logger    *logger.Logger
	// contains filtered or unexported fields
}

func FromConfig added in v0.1.0

func FromConfig(logger *logger.Logger, config Config) (*Runtime, error)

func (*Runtime) Start added in v0.1.0

func (r *Runtime) Start() error

Jump to

Keyboard shortcuts

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