package
0.4.1
Repository: https://github.com/goplugin/plugin-common.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
go:generate protoc --go_out=../../ --go_opt=paths=source_relative --go-grpc_out=../../ --go-grpc_opt=paths=source_relative --proto_path=../../ capabilities/pb/capabilities.proto values/pb/values.protogo:generate protoc --go_out=../../ --go_opt=paths=source_relative --go-grpc_out=../../ --go-grpc_opt=paths=source_relative --proto_path=../../ capabilities/pb/registry.proto values/pb/values.proto.
No description provided by the author
No description provided by the author

# Functions

MustNewCapabilityInfo returns a new CapabilityInfo, `panic`ing if we could not instantiate a CapabilityInfo.
MustNewRemoteCapabilityInfo returns a new CapabilityInfo, `panic`ing if we could not instantiate a CapabilityInfo.
NewCapabilityInfo returns a new CapabilityInfo.
NewRemoteCapabilityInfo returns a new CapabilityInfo for remote capabilities.
No description provided by the author

# Constants

CapabilityType enum values.
CapabilityType enum values.
CapabilityType enum values.
CapabilityType enum values.
CapabilityType enum values.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
CapabilityInfo is a struct for the info of a capability.
CapabilityRequest is a struct for the Execute request of a capability.
CapabilityResponse is a struct for the Execute response of a capability.
DON represents a network of connected nodes.
Node contains the node's peer ID and the DONs it is part of.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A Validator can validate the config, inputs, and outputs of a capability.
No description provided by the author

# Interfaces

ActionCapability interface needs to be implemented by all action capabilities.
BaseCapability interface needs to be implemented by all capability types.
ConsensusCapability interface needs to be implemented by all consensus capabilities.
Executable is an interface for executing a capability.
ExecutableCapability is the interface implemented by action, consensus and target capabilities.
TargetsCapability interface needs to be implemented by all target capabilities.
TriggerCapability interface needs to be implemented by all trigger capabilities.
No description provided by the author
No description provided by the author

# Type aliases

CapabilityType is an enum for the type of capability.