Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletedAccountsConfig ¶
type DeletedAccountsConfig struct { Callback func([]string) error // Function to call once the deleted accounts are received Period uint // How often to request deleted account list in hours (the default is 2) // contains filtered or unexported fields }
DeletedAccountsConfig represents a configuration for getting deleted accounts from a remote core service
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service contains configurations and helper functions required to utilize certain core services
func NewService ¶
func NewService(serviceAccountManager *auth.ServiceAccountManager, deletedAccountsConfig *DeletedAccountsConfig, logger *logs.Logger) (*Service, error)
NewService creates and configures a new Service instance
func (*Service) StartDeletedAccountsTimer ¶
func (c *Service) StartDeletedAccountsTimer()
StartDeletedAccountsTimer starts a timer that periodically retrieves deleted account IDs
Click to show internal directories.
Click to hide internal directories.