Documentation
¶
Index ¶
- type BranchEngine
- type CommandMatcher
- type TampStage
- func (s *TampStage) CacheSafe(content string) string
- func (s *TampStage) LogRequest(content string) string
- func (s *TampStage) MaxBodyCheck(content string, maxSize int) bool
- func (s *TampStage) Prune(content string) string
- func (s *TampStage) StripComments(content string) string
- func (s *TampStage) TextPress(content string) string
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) LogRequest ¶
func (*TampStage) StripComments ¶
Click to show internal directories.
Click to hide internal directories.