tampstages

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchEngine

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

func NewBranchEngine

func NewBranchEngine() *BranchEngine

func (*BranchEngine) AddFailure

func (e *BranchEngine) AddFailure(command, handler string)

func (*BranchEngine) AddSuccess

func (e *BranchEngine) AddSuccess(command, handler string)

func (*BranchEngine) Execute

func (e *BranchEngine) Execute(command string, success bool, output string) string

func (*BranchEngine) MatchOutput

func (e *BranchEngine) MatchOutput(output, substring string) bool

type CommandMatcher

type CommandMatcher struct{}

func NewCommandMatcher

func NewCommandMatcher() *CommandMatcher

func (*CommandMatcher) ExtractBasename

func (m *CommandMatcher) ExtractBasename(command string) string

func (*CommandMatcher) Match

func (m *CommandMatcher) Match(command, pattern string) bool

func (*CommandMatcher) StripFlags

func (m *CommandMatcher) StripFlags(command string) string

type TampStage

type TampStage struct{}

func NewTampStage

func NewTampStage() *TampStage

func (*TampStage) CacheSafe

func (s *TampStage) CacheSafe(content string) string

func (*TampStage) LogRequest

func (s *TampStage) LogRequest(content string) string

func (*TampStage) MaxBodyCheck

func (s *TampStage) MaxBodyCheck(content string, maxSize int) bool

func (*TampStage) Prune

func (s *TampStage) Prune(content string) string

func (*TampStage) StripComments

func (s *TampStage) StripComments(content string) string

func (*TampStage) TextPress

func (s *TampStage) TextPress(content string) string

Jump to

Keyboard shortcuts

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