dig

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseSDK

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

func NewBaseSDK added in v0.4.1

func NewBaseSDK(c Container, cfg driver.ConfigService) *BaseSDK

func (*BaseSDK) ConfigService added in v0.4.1

func (s *BaseSDK) ConfigService() driver.ConfigService

func (*BaseSDK) Container added in v0.4.1

func (s *BaseSDK) Container() Container

func (*BaseSDK) Install added in v0.4.1

func (s *BaseSDK) Install() error

func (*BaseSDK) PostStart

func (s *BaseSDK) PostStart(context.Context) error

func (*BaseSDK) Start added in v0.4.1

func (s *BaseSDK) Start(context.Context) error

func (*BaseSDK) Stop

func (s *BaseSDK) Stop() error

type Container added in v0.4.1

type Container interface {
	Provide(constructor interface{}, opts ...ProvideOption) error
	Invoke(function interface{}, opts ...InvokeOption) error
	Decorate(decorator interface{}, opts ...DecorateOption) error
	Visualize() string
}

type DecorateOption added in v0.4.1

type DecorateOption = dig.DecorateOption

type InvokeOption added in v0.4.1

type InvokeOption = dig.InvokeOption

type ProvideOption added in v0.4.1

type ProvideOption any

type SDK

type SDK interface {
	node.SDK
	PostStart(ctx context.Context) error
	Stop() error
	Container() Container
	ConfigService() driver.ConfigService
}

Jump to

Keyboard shortcuts

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