configuration

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigHandler

type ConfigHandler interface {
	ModifiedSubscriber
	ModifyingSubscriber
	ModificationCanceledSubscriber
	RestoredSubscriber
	GetConfig() interface{}
	Freeze()
	Unfreeze()
	CanRestore() bool
	Restore()
	SetRefreshTime(Period)
	ForceRefresh()
}

ConfigHandler defines a object that handles the configuration

type ModificationCanceledSubscriber

type ModificationCanceledSubscriber interface {
	ModificationCanceledSubscribe(*func(eventArgs *events.ModificationCanceledEventArgs))
	ModificationCanceledUnsubscribe(*func(eventArgs *events.ModificationCanceledEventArgs))
}

ModificationCanceledSubscriber defines an object responsible to subscribe function for the event ModificationCanceled

type ModifiedSubscriber

type ModifiedSubscriber interface {
	ModifiedSubscribe(*func())
	ModifiedUnsubscribe(*func())
}

ModifiedSubscriber defines an object responsible to subscribe function for the event Modified

type ModifyingSubscriber

type ModifyingSubscriber interface {
	ModifyingSubscribe(*func(eventArgs *events.ModifyingEventArgs))
	ModifyingUnsubscribe(*func(eventArgs *events.ModifyingEventArgs))
}

ModifyingSubscriber defines an object responsible to subscribe function for the event Modifying

type Period

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

func (*Period) IsFinished

func (p *Period) IsFinished() bool

IsFinished returns if the period is finished

type RestoredSubscriber

type RestoredSubscriber interface {
	RestoredSubscribe(*func())
	RestoredUnsubscribe(*func())
}

RestoredSubscriber defines an object responsible to subscribe function for the event Restored

Directories

Path Synopsis
ioc

Jump to

Keyboard shortcuts

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