orion

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 22 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 {
	dig2.SDK
	// contains filtered or unexported fields
}

func NewFrom

func NewFrom(sdk dig2.SDK) *SDK

func NewSDK

func NewSDK(registry node.Registry) *SDK

func (*SDK) Install

func (p *SDK) Install() error

func (*SDK) OrionEnabled

func (p *SDK) OrionEnabled() bool

func (*SDK) PostStart

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

func (*SDK) Start

func (p *SDK) Start(ctx 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