Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIsInitialized ¶
func CheckIsInitialized(common *CommonServices)
CheckIsInitialized iterates over all fields of a struct and calls IsInitialized if the field implements it.
Types ¶
type CommonServices ¶
type CommonServices struct { // Core infrastructure Cache *caches.Cache Events *events.EventsService Neo4jRepositories *neo4jRepo.Repositories PostgresRepositories *repository.Repositories // Services ActionService interfaces.ActionService AIService interfaces.AIService AttachmentService interfaces.AttachmentService AzureService interfaces.AzureService CloudflareService interfaces.CloudflareService CommentService interfaces.CommentService ContactService interfaces.ContactService ContractService interfaces.ContractService CurrencyService interfaces.CurrencyService CustomFieldTemplateService interfaces.CustomFieldTemplateService DomainService interfaces.DomainService EmailingService interfaces.EmailingService EmailService interfaces.EmailService EnrichmentService interfaces.EnrichmentService ExternalSystemService interfaces.ExternalSystemService FileService interfaces.FileService FlowExecutionService interfaces.FlowExecutionService FlowService interfaces.FlowService GoogleService interfaces.GoogleService IndustryService interfaces.IndustryService InteractionEventService interfaces.InteractionEventService InteractionSessionService interfaces.InteractionSessionService InvoiceService interfaces.InvoiceService IssueService interfaces.IssueService JobRoleService interfaces.JobRoleService LocationService interfaces.LocationService LogEntryService interfaces.LogEntryService MailboxService interfaces.MailboxService MailService interfaces.MailService MailstackService interfaces.MailstackService MarkdownEventService interfaces.MarkdownEventService NamecheapService interfaces.NamecheapService NotificationService interfaces.NotificationService NovuService interfaces.NovuService OpenSRSService interfaces.OpenSrsService OpportunityService interfaces.OpportunityService OrganizationService interfaces.OrganizationService PhoneNumberService interfaces.PhoneNumberService PostmarkService interfaces.PostmarkService RegistrationService interfaces.RegistrationService ReminderService interfaces.ReminderService ServiceLineItemService interfaces.ServiceLineItemService SlackService interfaces.SlackService SocialService interfaces.SocialService TagService interfaces.TagService TenantService interfaces.TenantService TenantSettingsService interfaces.TenantSettingsService UserService interfaces.UserService VerifyService interfaces.VerifyService WorkflowService interfaces.WorkflowService WorkspaceService interfaces.WorkspaceService }
func InitCommonServices ¶
func InitCommonServices( log logger.Logger, neo4jRepositories *neo4jRepo.Repositories, postgresRepositories *repository.Repositories, cfg *config.CommonConfig, grpcClients *grpc_client.Clients, ) *CommonServices
Click to show internal directories.
Click to hide internal directories.