Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Specification ¶
type Specification struct {
// contains filtered or unexported fields
}
func (*Specification) Shutdown ¶
func (s *Specification) Shutdown() error
Shutdown function stops update process
func (*Specification) Start ¶
func (s *Specification) Start() error
Start function starts update process every ConfigurationUpdatePeriod
func (*Specification) Update ¶
func (s *Specification) Update() error
Update function performs a specification update
type Updater ¶
func NewController ¶
func NewController(lock *sync.RWMutex, logger *logrus.Logger, sqlLiteStorage database.DBOpenAPILoader, cfg *config.APIFWConfigurationAPIMode, api *fasthttp.Server, shutdown chan os.Signal, health *handlersAPI.Health) Updater
NewController function defines configuration updater controller
Click to show internal directories.
Click to hide internal directories.