GoLang EventDnsBase::__construct

request it (93)
GoLang replacement for PHP's EventDnsBase::__construct [edit | history]

Do you know a GoLang replacement for PHP's EventDnsBase::__construct? Write it!

PHP EventDnsBase::__construct

PHP original manual for EventDnsBase::__construct [ show | php.net ]


(PECL event >= 1.2.6-beta)

EventDnsBase::__constructConstructs EventDnsBase object


public EventDnsBase::__construct ( EventBase $base , bool $initialize )

Constructs EventDnsBase object.



Event base.


If the initialize argument is TRUE, it tries to configure the DNS base sensibly given your operating system’s default. Otherwise, it leaves the event DNS base empty, with no nameservers or options configured. In the latter case DNS base should be configured manually, e.g. with EventDnsBase::parseResolvConf() .

Return Values

Returns EventDnsBase object.