polling

package
v0.0.0-...-4109721 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package polling contains polls functionalities of a domibus server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg Config) error

Types

type Config

type Config struct {
	Logger       *slog.Logger
	HTTPClient   *http.Client
	DomibusSOAP  *domibus.SOAP
	TimeInterval time.Duration
	Stop         chan struct{}
	TargetURLs   map[string]*url.URL
}

Config contains all the mandatory systems required for polling.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL