whitepagespro

package
v0.0.0-...-5372b76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReputationDetails

type ReputationDetails struct {
	Score    int    `json:"score"`
	Type     string `json:"type"`
	Category string `json:"category"`
}

type Response

type Response struct {
	RequestSID string `json:"request_sid"`
	Status     string `json:"status"`
	Message    string `json:"message"`
	Code       string `json:"code"`
	Result     Result `json:"result"`
}

func (*Response) Error

func (r *Response) Error() error

func (*Response) Name

func (r *Response) Name() string

func (*Response) SpamConfidence

func (r *Response) SpamConfidence() float64

func (*Response) SpamDescription

func (r *Response) SpamDescription() string

type Result

type Result struct {
	ID                string            `json:"id"`
	PhoneNumber       string            `json:"phone_number"`
	ReputationLevel   int               `json:"reputation_level"`
	VolumeScore       int               `json:"volume_score"`
	ReportCount       int               `json:"report_count"`
	Error             *ResultError      `json:"error"`
	Warnings          []string          `json:"warnings"`
	ReputationDetails ReputationDetails `json:"reputation_details"`
}

type ResultError

type ResultError struct {
	Name    string `json:"name"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL