- register_hook($hook_name => $coderef[, $hook_name => $coderef])
- load_gungho_module($name, $prefix)
Gungho::Component::Core - Gungho Core Methods
This method has been deprecated. Use run() instead.
Starts the Gungho process. It requires either the name of a config filename or a hashref.
Returns true if Gungho supports some feature $name
Sets up the Gungho environment, including calling the various setup_* methods to configure the provider, engine, handler, etc.
Sets up the various components.
Registers a hook to be run under the specified $hook_name
Runs all the hooks under the hook $hook_name
Delegates to provider's has_requests
Delegates to provider's get_requests
Delegates to handler's handle_response
Delegates to engine's send_request upon successful DNS response
Given a request, preps it before sending it to the engine
Given a response, preps it before sending it to handle_response()
Delegates to engine's send_request
Loads the config from $config via Config::Any.
Loads a Gungho component. Compliments the module name with 'Gungho::$prefix::', unless the name is prefixed with a '+'. In that case, no transformation is performed, and the module name is used as-is.
Returns true if the given request is allowed to be fetched (this has nothing to do with authentication and such, and is purely internal)