GoLang radius_config

request it (382)
GoLang replacement for PHP's radius_config [edit | history]



Do you know a GoLang replacement for PHP's radius_config? Write it!

PHP radius_config

PHP original manual for radius_config [ show | php.net ]

radius_config

(PECL radius >= 1.1.0)

radius_configCauses the library to read the given configuration file

Description

bool radius_config ( resource $radius_handle , string $file )

Before issuing any Radius requests, the library must be made aware of the servers it can contact. The easiest way to configure the library is to call radius_config(). radius_config() causes the library to read a configuration file whose format is described in » radius.conf.

Parameters

radius_handle

file

The pathname of the configuration file is passed as the file argument to radius_config(). The library can also be configured programmatically by calls to radius_add_server().

Return Values

Returns TRUE on success or FALSE on failure.

See Also