configuration

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AdvertisedUrl                string `json:"advertised_url"`
	MongoUseRelSet               bool   `json:"mongo_use_rel_set"`
	MongoUrl                     string `json:"mongo_url"`
	MongoTable                   string `json:"mongo_table"`
	MongoCollectionWatchedEntity string `json:"mongo_collection_watched_entity"`
	WatchInterval                string `json:"watch_interval"`
	BatchSize                    int64  `json:"batch_size"`
	WorkerParamPrefix            string `json:"worker_param_prefix"`
	MinWatchInterval             string `json:"min_watch_interval"`
	DefaultWatchInterval         string `json:"default_watch_interval"`
	DefaultHashType              string `json:"default_hash_type"`
	DeviceSelectionUrl           string `json:"device_selection_url"`
	AllowGenericWatchRequests    bool   `json:"allow_generic_watch_requests"`
	UseExternalDnsForChecker     bool   `json:"use_external_dns_for_checker"`
	ExternalDnsAddress           string `json:"external_dns_address"`
}

func (*Config) GetSaveHttpClient

func (config *Config) GetSaveHttpClient() *http.Client

Jump to

Keyboard shortcuts

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