auth_config_model

package
v2.3.221 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanCfg

type CleanCfg struct {
	HistoryAccDays int `json:"history_acc_days" binding:"required,gt=10"`
	MaxRows        int `json:"max_rows" binding:"required,gt=10"`
}

type CleanCfgTransformer

type CleanCfgTransformer struct {
	HistoryAccDays int `json:"history_acc_days"`
	MaxRows        int `json:"max_rows"`
}

type CleanConfig

type CleanConfig struct {
	// contains filtered or unexported fields
}

func NewCleanConfig

func NewCleanConfig() CleanConfig

func (*CleanConfig) AfterUpdate

func (c *CleanConfig) AfterUpdate(data []byte) error

func (*CleanConfig) Check

func (c *CleanConfig) Check(data []byte) error

func (*CleanConfig) Init

func (c *CleanConfig) Init() ([]byte, error)

func (*CleanConfig) Transform

func (c *CleanConfig) Transform(data []byte) (any, error)

Jump to

Keyboard shortcuts

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