package
0.0.0-20240917120716-8843776e9f3a
Repository: https://github.com/cossacklabs/acra.git
Documentation: pkg.go.dev

# Functions

ParseParameters parses command-line parameters and returns the selected subcommand.

# Constants

CmdTokenDisable is the name of "acra-tokens disable" subcommand.
CmdTokenEnable is the name of "acra-tokens enable" subcommand.
CmdTokenRemove is the name of "acra-tokens remove" subcommand.
CmdTokenStatus is the name of "acra-tokens status" subcommand.
ServiceName constant for logging and configuration parsing.

# Variables

DefaultConfigPath is the default path to service configuration file.
ErrInvalidDateTime is returned when we can't parse the time string provided by the user.
Errors returned by token storage parameter parsing.
Errors returned by "acra-tokens remove" subcommand.
Comman-line parsing errors:.

# Structs

CommonDateParameters is a mix-in of command line parameters for date limits.
CommonTokenStorageParameters is a mix-in of command line parameters for token storage construction.
DisableSubcommand is the "acra-tokens disable" subcommand.
EnableSubcommand is the "acra-tokens enable" subcommand.
RemoveSubcommand is the "acra-tokens remove" subcommand.
StatusSubcommand is the "acra-tokens status" subcommand.

# Interfaces

Subcommand is "acra-tokens" subcommand.