fabric

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 12 Imported by: 19

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 added in v0.2.0

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

func NewSDK

func NewSDK(registry Registry) *SDK

func (*SDK) Install added in v0.2.0

func (p *SDK) Install() error

func (*SDK) PostStart added in v0.2.0

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

func (*SDK) Start added in v0.2.0

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