Documentation ¶ Index ¶ type Config type Helper func Init(ctx context.Context, cfg Config) (svc *Helper, err error) func (svc *Helper) GetMappedNavigationContent(ctx context.Context, lang string) (content []model.NavigationItem, err error) func (svc *Helper) RunUpdates(ctx context.Context, svcErrors chan error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { APIRouterURL string CacheUpdateInterval *time.Duration EnableNewNavBar bool EnableCensusTopicSubsection bool CensusTopicID string IsPublishingMode bool Languages []string ServiceAuthToken string } type Helper ¶ type Helper struct { Clienter client.Clienter Config Config CacheList cache.List Clients *client.Clients } func Init ¶ func Init(ctx context.Context, cfg Config) (svc *Helper, err error) func (*Helper) GetMappedNavigationContent ¶ func (svc *Helper) GetMappedNavigationContent(ctx context.Context, lang string) (content []model.NavigationItem, err error) func (*Helper) RunUpdates ¶ func (svc *Helper) RunUpdates(ctx context.Context, svcErrors chan error) Source Files ¶ View all Source files helper.go Click to show internal directories. Click to hide internal directories.