redact

package
v0.0.0-...-34adcc7 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// WILDCARD_KEY is used to represent l[*] type of keys in json path
	WILDCARD_KEY = "WILDCARD_KEY"
	// ARRAY_KEY is used to represent l[0] type of keys in json path
	ARRAY_KEY = "ARRAY_KEY"
	// OBJECT_KEY is used to represent a.b, a.c type of keys in json path
	OBJECT_KEY = "OBJECT_KEY"
	// LIST_KEY is used to represent [0] type of keys in json path
	LIST_KEY = "LIST_KEY"
	// WILDCARD_LIST_KEY is used to represent [*] type of keys in json path
	WILDCARD_LIST_KEY = "WILDCARD_LIST_KEY"
)

Functions

This section is empty.

Types

type Redact

type Redact interface {
	RedactJSON() http.Handler
}

Redact interface

func NewRedact

func NewRedact() Redact

NewRedact returns new object of RedactService

Directories

Path Synopsis
Package redactmock is a generated GoMock package.
Package redactmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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