badactorservice

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.1.10

func New(config *Config, log logger.Logger) (*badactor.Studio, error)

Types

type Config

type Config struct {
	MaxAuthAttempts int           `json:"max_auth_attempts,omitempty"`
	JailTime        time.Duration `json:"jail_time,omitempty"`
}

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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