Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
CLI provides a command-line interface for redactr
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is used to configure a CLI
type Execer ¶ added in v0.2.0
type Execer interface {
Exec(name string, args []string, opts ...redactr.ExecOption) error
}
An Execer can exec a shell command
type NewOption ¶
type NewOption func(*Config)
A NewOption is used to alter a new CLI
type TokenRedacterUnredacter ¶ added in v0.2.0
type TokenRedacterUnredacter interface { RedactTokens(string) (string, error) UnredactTokens(string, ...redactr.UnredactTokensOption) (string, error) }
A TokenRedacterUnredacter can redact and unredact tokens
Click to show internal directories.
Click to hide internal directories.