ecs_handler

package
v5.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PluginType = "ecs_handler"

Variables

This section is empty.

Functions

func Init

func Init(_ *coremain.BP, args any) (any, error)

func QuickSetupOldECS

func QuickSetupOldECS(bq sequence.BQ, s string) (any, error)

QuickSetup format: old: ip/mask ip/mask new: [ip] Note: only the first ip will be used as preset address, the second one will be ignored. The mask value will be ignored.

Types

type Args

type Args struct {
	Forward bool   `yaml:"forward"`
	Send    bool   `yaml:"send"`
	Preset  string `yaml:"preset"`
	Mask4   int    `yaml:"mask4"`
	Mask6   int    `yaml:"mask6"`
}

type ECSHandler

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

func NewHandler

func NewHandler(args Args) (*ECSHandler, error)

func (*ECSHandler) Exec

Exec tries to append ECS to qCtx.Q().

Jump to

Keyboard shortcuts

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