# new NetGet(config)
Constructs the NetGet service, initializing any necessary base configurations.
Parameters:
Name | Type | Description |
---|---|---|
config |
Object
|
The configuration object for the NetGet service. |
Methods
# Gateway(config) → {Gateway}
Creates a Gateway instance with specified configuration.
Parameters:
Name | Type | Description |
---|---|---|
config |
Object
|
Configuration options for the Gateway. |
An instance of the Gateway configured with the provided options.
# static loadDomainConfig(domainConfigPath) → {Object|null}
Loads and parses the domain configuration from a specified file.
Parameters:
Name | Type | Description |
---|---|---|
domainConfigPath |
string
|
The path to the domain configuration file. |
The parsed domain configuration object or null if an error occurs.
Object
|
null