jsonmask

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

type Handle interface {
	Process(b []byte) (*string, error)
}

type Masker

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

func NewMasker

func NewMasker() Masker

func (*Masker) Init

func (m *Masker) Init(handles ...map[string]ProcessHandle)

func (*Masker) Process

func (m *Masker) Process(b []byte) (*string, error)

type ProcessHandle

type ProcessHandle struct {
	Fn   string
	Args []string
}

Jump to

Keyboard shortcuts

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