rotation

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

README

rotation

Golang rotation framework

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rotate

func Rotate(trigger Trigger, rotators ...Rotator)

Rotate starts rotation process

Types

type Rotator

type Rotator interface {
	// Rotate rotates resource
	Rotate()
}

type Trigger

type Trigger <-chan struct{}

Trigger triggers rotation

type ValueGetter

type ValueGetter interface {
	// GetValue returns most recent resource value
	GetValue() string
}

Directories

Path Synopsis
db
pgx
example
pgx

Jump to

Keyboard shortcuts

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