Versions in this module Expand all Collapse all v2 v2.0.0 Jun 18, 2023 Changes in this version + type HandlerAPI struct + func New(ctx context.Context, logger *zap.Logger, storage storageTY.Plugin, ...) *HandlerAPI + func (h *HandlerAPI) Delete(ids []string) (int64, error) + func (h *HandlerAPI) Disable(ids []string) error + func (h *HandlerAPI) Enable(ids []string) error + func (h *HandlerAPI) Get(f []storageTY.Filter) (handlerTY.Config, error) + func (h *HandlerAPI) GetByID(ID string) (*handlerTY.Config, error) + func (h *HandlerAPI) GetByTypeName(handlerPluginType, name string) (*handlerTY.Config, error) + func (h *HandlerAPI) GetEntityInterface() interface{} + func (h *HandlerAPI) Import(data interface{}) error + func (h *HandlerAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error) + func (h *HandlerAPI) LoadAll() + func (h *HandlerAPI) Reload(ids []string) error + func (h *HandlerAPI) Save(cfg *handlerTY.Config) error + func (h *HandlerAPI) SaveAndReload(cfg *handlerTY.Config) error + func (h *HandlerAPI) SetState(id string, state *types.State) error + func (h *HandlerAPI) Start(cfg *handlerTY.Config) error + func (h *HandlerAPI) Stop(cfg *handlerTY.Config) error + func (h *HandlerAPI) UnloadAll()