runner

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "1.0.2"
)

Variables

View Source
var (
	DefaultRiverPassDir = filepath.Join(folderutil.HomeDirOrDefault("."), ".config", "riverPass")
	DefaultConfig       = filepath.Join(DefaultRiverPassDir, "config.yaml")
)

Functions

func ParserOptions

func ParserOptions() *types.Options

func ValidateRunEnumeration

func ValidateRunEnumeration(options *types.Options) error

Types

type Runner

type Runner struct {
	Websocket *websocketserver.WebSocketServer
	Proxy     *proxy.Proxy
	Options   *types.Options
	proxy.BaseAddon
}

func NewRunner

func NewRunner(opts *types.Options) (*Runner, error)

func (*Runner) HandleDelayedRequest

func (r *Runner) HandleDelayedRequest(flow *proxy.Flow)

func (*Runner) Request

func (r *Runner) Request(flow *proxy.Flow)

func (*Runner) Response

func (r *Runner) Response(flow *proxy.Flow)

func (*Runner) RunEnumeration

func (r *Runner) RunEnumeration() error

Jump to

Keyboard shortcuts

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