masking

package module
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaskNumber = 0
View Source
var MaskValue = "*****"

Functions

This section is empty.

Types

type Processor

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

func New

func New(keys ...string) *Processor

func (*Processor) Add

func (b *Processor) Add(key string, keys ...string) *Processor

func (*Processor) Run

func (b *Processor) Run(ctx context.Context, f Unmarshal) ([]byte, error)

type Unmarshal

type Unmarshal func() ([]byte, error)

func Form

func Form(v interface{}) Unmarshal

func Json

func Json(v interface{}) Unmarshal

func Raw

func Raw(data []byte) Unmarshal

Jump to

Keyboard shortcuts

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