sample

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RxpRpl8 = easyhide.RegexpReplacement{
		Regexp:      regexp.MustCompile(`^v=(\w{4})\w{4}$`),
		Replacement: `v=${1}` + easyhide.HiddenMarker,
	}

	RxpRpls9 = []easyhide.RegexpReplacement{
		{
			Regexp:      regexp.MustCompile(`password=[^& ]+`),
			Replacement: `password=` + easyhide.HiddenMarker,
		},
		{
			Regexp:      regexp.MustCompile(`token=[^&]+([^&]{4})`),
			Replacement: `token=` + easyhide.HiddenMarker + `${1}`,
		},
	}
)

Functions

This section is empty.

Types

type T1

type T1 struct {
	A1 string `json:"a1" easyhide:"show"`
	A2 string `json:"a2" easyhide:"hide"`
	A3 string `easyhide:"hide:HL"`
	A4 string `easyhide:"hide:HR"`
	A5 string `easyhide:"hide:NE"`
	A6 string `easyhide:"hide:HL,NE"`
	A7 string `easyhide:"hide:HR,NE"`
	A8 string `easyhide:"hide:RE,NE:RxpRpl8"`
	A9 string `easyhide:"hide:RES,NE:RxpRpls9"`
}

func (T1) EasyHide

func (v T1) EasyHide() ([]byte, error)

Jump to

Keyboard shortcuts

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