module

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserActionEnable  = "enabled"
	UserActionDisable = "disabled"
)
View Source
const ToggleModuleRateLimit = 10

ToggleModuleRateLimit is the maximum count how often modules can be enabled and disabled in 10 minutes before the user has to wait for the rate limit to expire.

Variables

Functions

func HandleModuleSubCommand

HandleModuleSubCommand delegates the sub-commands of the module sub-command to their dedicated handlers.

Types

type UserAction added in v0.2.0

type UserAction string

UserAction is a string that can be output to tell the user the action that is currently applied to a module

Jump to

Keyboard shortcuts

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