actions

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "actions"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port uint            `yaml:"port"`
	Node *remote.Details `yaml:"node,omitempty"`
}

Config contains the configuration about the actions module

func DefaultConfig

func DefaultConfig() Config

DefaultConfig returns the default configuration

func NewConfig

func NewConfig(port uint, remoteDetails *remote.Details) *Config

NewConfig returns a new Config instance

func ParseConfig

func ParseConfig(bz []byte) (*Config, error)

type Module

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

func NewModule

func NewModule(cfg config.Config, encodingConfig *params.EncodingConfig) *Module

func (*Module) Name

func (m *Module) Name() string

func (*Module) RunAdditionalOperations

func (m *Module) RunAdditionalOperations() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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