rotator

package
v1.59.7 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: AGPL-3.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rotator

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

func Setup

func Setup(quit chan bool) *Rotator

func (*Rotator) CreateConfTables

func (r *Rotator) CreateConfTables(duration int) (err error)

func (*Rotator) CreateDataTables

func (r *Rotator) CreateDataTables(duration int) (err error)

func (*Rotator) CreateDatabases

func (r *Rotator) CreateDatabases() (err error)

func (*Rotator) DropTables

func (r *Rotator) DropTables() (err error)

func (*Rotator) End

func (r *Rotator) End()

func (*Rotator) GetDatabaseSize

func (r *Rotator) GetDatabaseSize(db *sql.DB, schema string) (float64, error)

func (*Rotator) Rotate

func (r *Rotator) Rotate()

func (*Rotator) UsageProtection

func (r *Rotator) UsageProtection(scheme string) error

Jump to

Keyboard shortcuts

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