Documentation
¶
Index ¶
- type Rotator
- func (r *Rotator) CreateConfTables(duration int) (err error)
- func (r *Rotator) CreateDataTables(duration int) (err error)
- func (r *Rotator) CreateDatabases() (err error)
- func (r *Rotator) DropTables() (err error)
- func (r *Rotator) End()
- func (r *Rotator) GetDatabaseSize(db *sql.DB, schema string) (float64, error)
- func (r *Rotator) Rotate()
- func (r *Rotator) UsageProtection(scheme string) error
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 (*Rotator) CreateConfTables ¶
func (*Rotator) CreateDataTables ¶
func (*Rotator) CreateDatabases ¶
func (*Rotator) DropTables ¶
func (*Rotator) GetDatabaseSize ¶
func (*Rotator) UsageProtection ¶
Click to show internal directories.
Click to hide internal directories.