application

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package application contains the application logic for the homoglyphs rule type

Index

Constants

View Source
const (
	// HomoglyphsEvalType is the type of the homoglyphs evaluator
	HomoglyphsEvalType = "homoglyphs"
)

Variables

This section is empty.

Functions

func NewHomoglyphsEvaluator

NewHomoglyphsEvaluator creates a new homoglyphs evaluator

Types

type InvisibleCharactersEvaluator

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

InvisibleCharactersEvaluator is an evaluator for the invisible characters rule type

func NewInvisibleCharactersEvaluator

func NewInvisibleCharactersEvaluator(
	_ context.Context,
	ghClient interfaces.GitHubIssuePRClient,
	opts ...eoptions.Option,
) (*InvisibleCharactersEvaluator, error)

NewInvisibleCharactersEvaluator creates a new invisible characters evaluator

func (*InvisibleCharactersEvaluator) Eval

Eval evaluates the invisible characters rule type

type MixedScriptsEvaluator

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

MixedScriptsEvaluator is the evaluator for the mixed scripts rule type

func NewMixedScriptEvaluator

func NewMixedScriptEvaluator(
	ctx context.Context,
	ghClient interfaces.GitHubIssuePRClient,
	opts ...eoptions.Option,
) (*MixedScriptsEvaluator, error)

NewMixedScriptEvaluator creates a new mixed scripts evaluator

func (*MixedScriptsEvaluator) Eval

Eval evaluates the mixed scripts rule type

Jump to

Keyboard shortcuts

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