package
0.0.0-20241018080618-083e1eafdf36
Repository: https://github.com/onsdigital/dp-frontend-articles-controller.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New creates a new service.
NewMockHTTPClient mocks HTTP Client.
NewServiceList creates a new service list with the provided initialiser.

# Variables

BuildTime represents the time in which the service was built.
GitCommit represents the commit (SHA-1) hash of the service that is running.
Version represents the version of the service that is running.

# Structs

ExternalServiceList holds the initialiser and initialisation state of external services.
Init implements the Initialiser interface to initialise dependencies.
Service contains the healthcheck, server and serviceList for the controller.

# Interfaces

HealthChecker defines the required methods from Healthcheck.
HTTPServer defines the required methods from the HTTP server.
Initialiser defines the methods to initialise external services.