cli

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenericSourceFactory added in v0.5.2

func GenericSourceFactory(objectId string) remote.IObjectSource

func Run

func Run()

func RunHub added in v0.5.2

func RunHub(addr string)

Types

type Command

type Command struct {
	Usage string
	Names []string
	Exec  func(args []string) error
	Help  string
}

type GenericSource added in v0.5.2

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

func NewGenericSource added in v0.5.2

func NewGenericSource(objectId string) *GenericSource

func (*GenericSource) CollectProperties added in v0.5.2

func (s *GenericSource) CollectProperties() (core.KWArgs, error)

func (*GenericSource) Invoke added in v0.5.2

func (s *GenericSource) Invoke(methodId string, args core.Args) (core.Any, error)

func (*GenericSource) Linked added in v0.5.2

func (s *GenericSource) Linked(objectId string, node *remote.Node) error

func (*GenericSource) ObjectId added in v0.5.2

func (s *GenericSource) ObjectId() string

func (*GenericSource) SetProperty added in v0.5.2

func (s *GenericSource) SetProperty(propertyId string, value core.Any) error

type MockSink

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

func (*MockSink) HandleInit added in v0.5.2

func (s *MockSink) HandleInit(objectId string, props core.KWArgs, node *client.Node)

func (*MockSink) HandlePropertyChange added in v0.5.2

func (s *MockSink) HandlePropertyChange(propertyId string, value core.Any)

func (*MockSink) HandleRelease added in v0.5.2

func (s *MockSink) HandleRelease()

func (*MockSink) HandleSignal added in v0.5.2

func (s *MockSink) HandleSignal(signalId string, args core.Args)

func (*MockSink) ObjectId

func (s *MockSink) ObjectId() string

Jump to

Keyboard shortcuts

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