orion

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry interface {
	GetService(v interface{}) (interface{}, error)

	RegisterService(service interface{}) error
}

type SDK

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

func NewSDK

func NewSDK(registry Registry) *SDK

func (*SDK) Install

func (p *SDK) Install() error

func (*SDK) PostStart

func (p *SDK) PostStart(ctx context.Context) error

func (*SDK) Start

func (p *SDK) Start(context.Context) error

type Startable

type Startable interface {
	Start(ctx context.Context) error
	Stop() error
}

Jump to

Keyboard shortcuts

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