cosmetic

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRule

func IsRule(s string) bool

IsRule returns true if the given string is a cosmetic rule.

Types

type Injector

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

func NewInjector

func NewInjector() *Injector

func (*Injector) AddRule

func (inj *Injector) AddRule(rule string) error

func (*Injector) Inject

func (inj *Injector) Inject(req *http.Request, res *http.Response) error

Jump to

Keyboard shortcuts

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