Documentation ¶
Index ¶
- func NewDNS() modules.Module
- type ConfigDNS
- type DNS
- func (D *DNS) Author() string
- func (D *DNS) DependsOn() events.EventType
- func (D *DNS) Name() string
- func (D *DNS) ParseConfig() error
- func (D *DNS) Run(input communication.Input, resultChan chan communication.Result) (communication.Done, error)
- func (D *DNS) Version() string
- func (D *DNS) WriteDb(result communication.Result, db models.Database, projectName string) error
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigDNS ¶
type ConfigDNS struct {
RandomDNS bool `toml:"randomDNS"`
}
ConfigDNS : configuration model (from the toml file)
type DNS ¶
type DNS struct { ConfigDNS ConfigDNS Config config.ConfigToml }
DNS "class"
func (*DNS) ParseConfig ¶
ParseConfig : Load the config from the config folder
func (*DNS) Run ¶
func (D *DNS) Run(input communication.Input, resultChan chan communication.Result) (communication.Done, error)
Run : Main function of the module
Click to show internal directories.
Click to hide internal directories.