Documentation
¶
Index ¶
Constants ¶
View Source
const ServiceName = types.QrzForwardingServiceName
ServiceName is the name of the service and is used to look up the service in the container.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
LoggerService *logging.Service `di.inject:"loggingservice"`
ConfigService *config.Service `di.inject:"configservice"`
DatabaseService *sqlite.Service `di.inject:"sqliteservice"`
Config *types.ForwarderConfig
// contains filtered or unexported fields
}
Service represents a core FORWARDING structure facilitating interaction between logging, configuration, database, and HTTP services. It allows for dependency injection and manages initialization state effectively.
func (*Service) Forward ¶
Forward sends a QSO record to the QRZ.com API, handles the response, and updates the local database with the result.
func (*Service) Initialize ¶
Initialize initializes the Service by injecting dependencies, setting the configuration, and preparing HTTP clients as needed.
Click to show internal directories.
Click to hide internal directories.