Documentation ¶
Index ¶
- type DATATOOLS
- type DATATOOLS_IMPL
- func (me *DATATOOLS_IMPL) BadWordFilter(content string, censorCharacter *string) (*models_pkg.BadWordFilterResponse, error)
- func (me *DATATOOLS_IMPL) Convert(fromValue string, fromType string, toType string) (*models_pkg.ConvertResponse, error)
- func (me *DATATOOLS_IMPL) EmailValidate(email string, fixTypos *bool) (*models_pkg.EmailValidateResponse, error)
- func (me *DATATOOLS_IMPL) PhoneValidate(number string, countryCode *string, ip *string) (*models_pkg.PhoneValidateResponse, error)
- func (me *DATATOOLS_IMPL) UserAgentInfo(userAgent string) (*models_pkg.UserAgentInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DATATOOLS ¶
type DATATOOLS interface { EmailValidate(string, *bool) (*models_pkg.EmailValidateResponse, error) UserAgentInfo(string) (*models_pkg.UserAgentInfoResponse, error) BadWordFilter(string, *string) (*models_pkg.BadWordFilterResponse, error) Convert(string, string, string) (*models_pkg.ConvertResponse, error) PhoneValidate(string, *string, *string) (*models_pkg.PhoneValidateResponse, error) }
* Interface for the DATATOOLS_IMPL
type DATATOOLS_IMPL ¶
type DATATOOLS_IMPL struct {
// contains filtered or unexported fields
}
* Client structure as interface implementation
func NewDATATOOLS ¶
func NewDATATOOLS(config configuration_pkg.CONFIGURATION) *DATATOOLS_IMPL
* Factory for the DATATOOLS interaface returning DATATOOLS_IMPL
func (*DATATOOLS_IMPL) BadWordFilter ¶
func (me *DATATOOLS_IMPL) BadWordFilter( content string, censorCharacter *string) (*models_pkg.BadWordFilterResponse, error)
*
- Detect bad words, swear words and profanity in a given text. See: https://www.neutrinoapi.com/api/bad-word-filter/
- @param string content parameter: Required
- @param *string censorCharacter parameter: Optional
- @return Returns the *models_pkg.BadWordFilterResponse response from the API call
func (*DATATOOLS_IMPL) Convert ¶
func (me *DATATOOLS_IMPL) Convert( fromValue string, fromType string, toType string) (*models_pkg.ConvertResponse, error)
*
- A powerful unit conversion tool. See: https://www.neutrinoapi.com/api/convert/
- @param string fromValue parameter: Required
- @param string fromType parameter: Required
- @param string toType parameter: Required
- @return Returns the *models_pkg.ConvertResponse response from the API call
func (*DATATOOLS_IMPL) EmailValidate ¶
func (me *DATATOOLS_IMPL) EmailValidate( email string, fixTypos *bool) (*models_pkg.EmailValidateResponse, error)
*
- Parse, validate and clean an email address. See: https://www.neutrinoapi.com/api/email-validate/
- @param string email parameter: Required
- @param *bool fixTypos parameter: Optional
- @return Returns the *models_pkg.EmailValidateResponse response from the API call
func (*DATATOOLS_IMPL) PhoneValidate ¶
func (me *DATATOOLS_IMPL) PhoneValidate( number string, countryCode *string, ip *string) (*models_pkg.PhoneValidateResponse, error)
*
- Parse, validate and get location information about a phone number. See: https://www.neutrinoapi.com/api/phone-validate/
- @param string number parameter: Required
- @param *string countryCode parameter: Optional
- @param *string ip parameter: Optional
- @return Returns the *models_pkg.PhoneValidateResponse response from the API call
func (*DATATOOLS_IMPL) UserAgentInfo ¶
func (me *DATATOOLS_IMPL) UserAgentInfo( userAgent string) (*models_pkg.UserAgentInfoResponse, error)
*
- Parse, validate and get detailed user-agent information from a user agent string. See: https://www.neutrinoapi.com/api/user-agent-info/
- @param string userAgent parameter: Required
- @return Returns the *models_pkg.UserAgentInfoResponse response from the API call
Click to show internal directories.
Click to hide internal directories.