modify

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReplaceAddr

func NewReplaceAddr(modName, instName string, _, inlineArgs []string) (module.Module, error)

Types

type Group

type Group struct {
	Modifiers []module.Modifier
	// contains filtered or unexported fields
}

Group wraps multiple modifiers and runs them serially.

It is also registered as a module under 'modifiers' name and acts as a module group.

func (*Group) Init

func (g *Group) Init(cfg *config.Map) error

func (*Group) InstanceName

func (g *Group) InstanceName() string

func (Group) ModStateForMsg

func (g Group) ModStateForMsg(ctx context.Context, msgMeta *module.MsgMetadata) (module.ModifierState, error)

func (*Group) Name

func (g *Group) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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