Documentation ¶
Index ¶
- Variables
- func RegisterEmailServiceServer(s *grpc.Server, srv EmailServiceServer)
- func RegisterIPServiceServer(s *grpc.Server, srv IPServiceServer)
- type DisposableEmail
- func (*DisposableEmail) Descriptor() ([]byte, []int)deprecated
- func (x *DisposableEmail) GetCreatedAt() *timestamp.Timestamp
- func (x *DisposableEmail) GetDeletedAt() *timestamp.Timestamp
- func (x *DisposableEmail) GetId() uint32
- func (x *DisposableEmail) GetUpdatedAt() *timestamp.Timestamp
- func (x *DisposableEmail) GetUrl() string
- func (*DisposableEmail) ProtoMessage()
- func (x *DisposableEmail) ProtoReflect() protoreflect.Message
- func (x *DisposableEmail) Reset()
- func (x *DisposableEmail) String() string
- type EmailRequest
- type EmailServiceClient
- type EmailServiceServer
- type GetEmailListResponse
- func (*GetEmailListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEmailListResponse) GetEmails() []string
- func (*GetEmailListResponse) ProtoMessage()
- func (x *GetEmailListResponse) ProtoReflect() protoreflect.Message
- func (x *GetEmailListResponse) Reset()
- func (x *GetEmailListResponse) String() string
- type GetEmailResponse
- func (*GetEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEmailResponse) GetDisposable() bool
- func (x *GetEmailResponse) GetDomain() *GetEmailResponse_Domain
- func (x *GetEmailResponse) GetFree() bool
- func (x *GetEmailResponse) GetGeneric() bool
- func (x *GetEmailResponse) GetRecentSpam() bool
- func (x *GetEmailResponse) GetScore() uint32
- func (x *GetEmailResponse) GetSuccess() bool
- func (x *GetEmailResponse) GetValid() bool
- func (*GetEmailResponse) ProtoMessage()
- func (x *GetEmailResponse) ProtoReflect() protoreflect.Message
- func (x *GetEmailResponse) Reset()
- func (x *GetEmailResponse) String() string
- type GetEmailResponse_Domain
- func (*GetEmailResponse_Domain) Descriptor() ([]byte, []int)deprecated
- func (x *GetEmailResponse_Domain) GetCreatedAt() string
- func (x *GetEmailResponse_Domain) GetExpirationDate() string
- func (*GetEmailResponse_Domain) ProtoMessage()
- func (x *GetEmailResponse_Domain) ProtoReflect() protoreflect.Message
- func (x *GetEmailResponse_Domain) Reset()
- func (x *GetEmailResponse_Domain) String() string
- type GetEmailScoreResponse
- func (*GetEmailScoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEmailScoreResponse) GetScore() uint32
- func (*GetEmailScoreResponse) ProtoMessage()
- func (x *GetEmailScoreResponse) ProtoReflect() protoreflect.Message
- func (x *GetEmailScoreResponse) Reset()
- func (x *GetEmailScoreResponse) String() string
- type GetIPResponse
- func (*GetIPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIPResponse) GetASN() uint32
- func (x *GetIPResponse) GetCity() string
- func (x *GetIPResponse) GetCountryCode() string
- func (x *GetIPResponse) GetHostname() string
- func (x *GetIPResponse) GetISP() string
- func (x *GetIPResponse) GetLatitude() float32
- func (x *GetIPResponse) GetLongitude() float32
- func (x *GetIPResponse) GetOrganization() string
- func (x *GetIPResponse) GetPostalCode() string
- func (x *GetIPResponse) GetProxy() bool
- func (x *GetIPResponse) GetRecentAbuse() bool
- func (x *GetIPResponse) GetScore() uint32
- func (x *GetIPResponse) GetSuccess() bool
- func (x *GetIPResponse) GetTimezone() string
- func (x *GetIPResponse) GetTor() bool
- func (x *GetIPResponse) GetVpn() bool
- func (*GetIPResponse) ProtoMessage()
- func (x *GetIPResponse) ProtoReflect() protoreflect.Message
- func (x *GetIPResponse) Reset()
- func (x *GetIPResponse) String() string
- type GetIPScoreResponse
- func (*GetIPScoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIPScoreResponse) GetScore() uint32
- func (*GetIPScoreResponse) ProtoMessage()
- func (x *GetIPScoreResponse) ProtoReflect() protoreflect.Message
- func (x *GetIPScoreResponse) Reset()
- func (x *GetIPScoreResponse) String() string
- type GetProxyListResponse
- func (*GetProxyListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProxyListResponse) GetProxies() []*Proxy
- func (*GetProxyListResponse) ProtoMessage()
- func (x *GetProxyListResponse) ProtoReflect() protoreflect.Message
- func (x *GetProxyListResponse) Reset()
- func (x *GetProxyListResponse) String() string
- type GetSpamListResponse
- func (*GetSpamListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSpamListResponse) GetSpam() []string
- func (*GetSpamListResponse) ProtoMessage()
- func (x *GetSpamListResponse) ProtoReflect() protoreflect.Message
- func (x *GetSpamListResponse) Reset()
- func (x *GetSpamListResponse) String() string
- type GetTorListResponse
- func (*GetTorListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTorListResponse) GetTor() []string
- func (*GetTorListResponse) ProtoMessage()
- func (x *GetTorListResponse) ProtoReflect() protoreflect.Message
- func (x *GetTorListResponse) Reset()
- func (x *GetTorListResponse) String() string
- type GetVPNListResponse
- func (*GetVPNListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVPNListResponse) GetVpn() []string
- func (*GetVPNListResponse) ProtoMessage()
- func (x *GetVPNListResponse) ProtoReflect() protoreflect.Message
- func (x *GetVPNListResponse) Reset()
- func (x *GetVPNListResponse) String() string
- type IPRequest
- type IPServiceClient
- type IPServiceServer
- type Proxy
- func (*Proxy) Descriptor() ([]byte, []int)deprecated
- func (x *Proxy) GetCreatedAt() *timestamp.Timestamp
- func (x *Proxy) GetDeletedAt() *timestamp.Timestamp
- func (x *Proxy) GetId() uint32
- func (x *Proxy) GetIp() string
- func (x *Proxy) GetPort() string
- func (x *Proxy) GetType() string
- func (x *Proxy) GetUpdatedAt() *timestamp.Timestamp
- func (*Proxy) ProtoMessage()
- func (x *Proxy) ProtoReflect() protoreflect.Message
- func (x *Proxy) Reset()
- func (x *Proxy) String() string
- type Spam
- func (*Spam) Descriptor() ([]byte, []int)deprecated
- func (x *Spam) GetCreatedAt() *timestamp.Timestamp
- func (x *Spam) GetDeletedAt() *timestamp.Timestamp
- func (x *Spam) GetId() uint32
- func (x *Spam) GetType() string
- func (x *Spam) GetUpdatedAt() *timestamp.Timestamp
- func (x *Spam) GetUrl() string
- func (*Spam) ProtoMessage()
- func (x *Spam) ProtoReflect() protoreflect.Message
- func (x *Spam) Reset()
- func (x *Spam) String() string
- type Tor
- func (*Tor) Descriptor() ([]byte, []int)deprecated
- func (x *Tor) GetCreatedAt() *timestamp.Timestamp
- func (x *Tor) GetId() uint32
- func (x *Tor) GetIp() string
- func (x *Tor) GetUpdatedAt() *timestamp.Timestamp
- func (*Tor) ProtoMessage()
- func (x *Tor) ProtoReflect() protoreflect.Message
- func (x *Tor) Reset()
- func (x *Tor) String() string
- type UnimplementedEmailServiceServer
- func (*UnimplementedEmailServiceServer) GetDisposableList(context.Context, *empty.Empty) (*GetEmailListResponse, error)
- func (*UnimplementedEmailServiceServer) GetEmail(context.Context, *EmailRequest) (*GetEmailResponse, error)
- func (*UnimplementedEmailServiceServer) GetFreeEmailList(context.Context, *empty.Empty) (*GetEmailListResponse, error)
- func (*UnimplementedEmailServiceServer) GetGenericList(context.Context, *empty.Empty) (*GetEmailListResponse, error)
- func (*UnimplementedEmailServiceServer) GetScore(context.Context, *EmailRequest) (*GetEmailScoreResponse, error)
- func (*UnimplementedEmailServiceServer) GetSpamList(context.Context, *empty.Empty) (*GetEmailListResponse, error)
- type UnimplementedIPServiceServer
- func (*UnimplementedIPServiceServer) GetIP(context.Context, *IPRequest) (*GetIPResponse, error)
- func (*UnimplementedIPServiceServer) GetProxyList(context.Context, *empty.Empty) (*GetProxyListResponse, error)
- func (*UnimplementedIPServiceServer) GetScore(context.Context, *IPRequest) (*GetIPScoreResponse, error)
- func (*UnimplementedIPServiceServer) GetSpamList(context.Context, *empty.Empty) (*GetSpamListResponse, error)
- func (*UnimplementedIPServiceServer) GetTorList(context.Context, *empty.Empty) (*GetTorListResponse, error)
- func (*UnimplementedIPServiceServer) GetVPNList(context.Context, *empty.Empty) (*GetVPNListResponse, error)
- type VPN
- func (*VPN) Descriptor() ([]byte, []int)deprecated
- func (x *VPN) GetCreatedAt() *timestamp.Timestamp
- func (x *VPN) GetDeletedAt() *timestamp.Timestamp
- func (x *VPN) GetId() uint32
- func (x *VPN) GetUpdatedAt() *timestamp.Timestamp
- func (x *VPN) GetUrl() string
- func (*VPN) ProtoMessage()
- func (x *VPN) ProtoReflect() protoreflect.Message
- func (x *VPN) Reset()
- func (x *VPN) String() string
Constants ¶
This section is empty.
Variables ¶
var File_email_proto protoreflect.FileDescriptor
var File_ip_proto protoreflect.FileDescriptor
var File_message_disposable_dto_proto protoreflect.FileDescriptor
var File_message_proxy_dto_proto protoreflect.FileDescriptor
var File_message_spam_dto_proto protoreflect.FileDescriptor
var File_message_tor_dto_proto protoreflect.FileDescriptor
var File_message_vpn_dto_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEmailServiceServer ¶
func RegisterEmailServiceServer(s *grpc.Server, srv EmailServiceServer)
func RegisterIPServiceServer ¶
func RegisterIPServiceServer(s *grpc.Server, srv IPServiceServer)
Types ¶
type DisposableEmail ¶
type DisposableEmail struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*DisposableEmail) Descriptor
deprecated
func (*DisposableEmail) Descriptor() ([]byte, []int)
Deprecated: Use DisposableEmail.ProtoReflect.Descriptor instead.
func (*DisposableEmail) GetCreatedAt ¶
func (x *DisposableEmail) GetCreatedAt() *timestamp.Timestamp
func (*DisposableEmail) GetDeletedAt ¶
func (x *DisposableEmail) GetDeletedAt() *timestamp.Timestamp
func (*DisposableEmail) GetId ¶
func (x *DisposableEmail) GetId() uint32
func (*DisposableEmail) GetUpdatedAt ¶
func (x *DisposableEmail) GetUpdatedAt() *timestamp.Timestamp
func (*DisposableEmail) GetUrl ¶
func (x *DisposableEmail) GetUrl() string
func (*DisposableEmail) ProtoMessage ¶
func (*DisposableEmail) ProtoMessage()
func (*DisposableEmail) ProtoReflect ¶
func (x *DisposableEmail) ProtoReflect() protoreflect.Message
func (*DisposableEmail) Reset ¶
func (x *DisposableEmail) Reset()
func (*DisposableEmail) String ¶
func (x *DisposableEmail) String() string
type EmailRequest ¶
type EmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*EmailRequest) Descriptor
deprecated
func (*EmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmailRequest.ProtoReflect.Descriptor instead.
func (*EmailRequest) GetEmail ¶
func (x *EmailRequest) GetEmail() string
func (*EmailRequest) ProtoMessage ¶
func (*EmailRequest) ProtoMessage()
func (*EmailRequest) ProtoReflect ¶
func (x *EmailRequest) ProtoReflect() protoreflect.Message
func (*EmailRequest) Reset ¶
func (x *EmailRequest) Reset()
func (*EmailRequest) String ¶
func (x *EmailRequest) String() string
type EmailServiceClient ¶
type EmailServiceClient interface { GetScore(ctx context.Context, in *EmailRequest, opts ...grpc.CallOption) (*GetEmailScoreResponse, error) GetEmail(ctx context.Context, in *EmailRequest, opts ...grpc.CallOption) (*GetEmailResponse, error) GetDisposableList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetEmailListResponse, error) GetGenericList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetEmailListResponse, error) GetSpamList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetEmailListResponse, error) GetFreeEmailList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetEmailListResponse, error) }
EmailServiceClient is the client API for EmailService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEmailServiceClient ¶
func NewEmailServiceClient(cc grpc.ClientConnInterface) EmailServiceClient
type EmailServiceServer ¶
type EmailServiceServer interface { GetScore(context.Context, *EmailRequest) (*GetEmailScoreResponse, error) GetEmail(context.Context, *EmailRequest) (*GetEmailResponse, error) GetDisposableList(context.Context, *empty.Empty) (*GetEmailListResponse, error) GetGenericList(context.Context, *empty.Empty) (*GetEmailListResponse, error) GetSpamList(context.Context, *empty.Empty) (*GetEmailListResponse, error) GetFreeEmailList(context.Context, *empty.Empty) (*GetEmailListResponse, error) }
EmailServiceServer is the server API for EmailService service.
type GetEmailListResponse ¶
type GetEmailListResponse struct { Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"` // contains filtered or unexported fields }
func (*GetEmailListResponse) Descriptor
deprecated
func (*GetEmailListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEmailListResponse.ProtoReflect.Descriptor instead.
func (*GetEmailListResponse) GetEmails ¶
func (x *GetEmailListResponse) GetEmails() []string
func (*GetEmailListResponse) ProtoMessage ¶
func (*GetEmailListResponse) ProtoMessage()
func (*GetEmailListResponse) ProtoReflect ¶
func (x *GetEmailListResponse) ProtoReflect() protoreflect.Message
func (*GetEmailListResponse) Reset ¶
func (x *GetEmailListResponse) Reset()
func (*GetEmailListResponse) String ¶
func (x *GetEmailListResponse) String() string
type GetEmailResponse ¶
type GetEmailResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` Disposable bool `protobuf:"varint,3,opt,name=disposable,proto3" json:"disposable,omitempty"` RecentSpam bool `protobuf:"varint,4,opt,name=recent_spam,json=recentSpam,proto3" json:"recent_spam,omitempty"` Free bool `protobuf:"varint,5,opt,name=free,proto3" json:"free,omitempty"` Generic bool `protobuf:"varint,6,opt,name=generic,proto3" json:"generic,omitempty"` Score uint32 `protobuf:"varint,7,opt,name=score,proto3" json:"score,omitempty"` Domain *GetEmailResponse_Domain `protobuf:"bytes,8,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*GetEmailResponse) Descriptor
deprecated
func (*GetEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEmailResponse.ProtoReflect.Descriptor instead.
func (*GetEmailResponse) GetDisposable ¶
func (x *GetEmailResponse) GetDisposable() bool
func (*GetEmailResponse) GetDomain ¶
func (x *GetEmailResponse) GetDomain() *GetEmailResponse_Domain
func (*GetEmailResponse) GetFree ¶
func (x *GetEmailResponse) GetFree() bool
func (*GetEmailResponse) GetGeneric ¶
func (x *GetEmailResponse) GetGeneric() bool
func (*GetEmailResponse) GetRecentSpam ¶
func (x *GetEmailResponse) GetRecentSpam() bool
func (*GetEmailResponse) GetScore ¶
func (x *GetEmailResponse) GetScore() uint32
func (*GetEmailResponse) GetSuccess ¶
func (x *GetEmailResponse) GetSuccess() bool
func (*GetEmailResponse) GetValid ¶
func (x *GetEmailResponse) GetValid() bool
func (*GetEmailResponse) ProtoMessage ¶
func (*GetEmailResponse) ProtoMessage()
func (*GetEmailResponse) ProtoReflect ¶
func (x *GetEmailResponse) ProtoReflect() protoreflect.Message
func (*GetEmailResponse) Reset ¶
func (x *GetEmailResponse) Reset()
func (*GetEmailResponse) String ¶
func (x *GetEmailResponse) String() string
type GetEmailResponse_Domain ¶
type GetEmailResponse_Domain struct { CreatedAt string `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ExpirationDate string `protobuf:"bytes,2,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` // contains filtered or unexported fields }
func (*GetEmailResponse_Domain) Descriptor
deprecated
func (*GetEmailResponse_Domain) Descriptor() ([]byte, []int)
Deprecated: Use GetEmailResponse_Domain.ProtoReflect.Descriptor instead.
func (*GetEmailResponse_Domain) GetCreatedAt ¶
func (x *GetEmailResponse_Domain) GetCreatedAt() string
func (*GetEmailResponse_Domain) GetExpirationDate ¶
func (x *GetEmailResponse_Domain) GetExpirationDate() string
func (*GetEmailResponse_Domain) ProtoMessage ¶
func (*GetEmailResponse_Domain) ProtoMessage()
func (*GetEmailResponse_Domain) ProtoReflect ¶
func (x *GetEmailResponse_Domain) ProtoReflect() protoreflect.Message
func (*GetEmailResponse_Domain) Reset ¶
func (x *GetEmailResponse_Domain) Reset()
func (*GetEmailResponse_Domain) String ¶
func (x *GetEmailResponse_Domain) String() string
type GetEmailScoreResponse ¶
type GetEmailScoreResponse struct { Score uint32 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
func (*GetEmailScoreResponse) Descriptor
deprecated
func (*GetEmailScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEmailScoreResponse.ProtoReflect.Descriptor instead.
func (*GetEmailScoreResponse) GetScore ¶
func (x *GetEmailScoreResponse) GetScore() uint32
func (*GetEmailScoreResponse) ProtoMessage ¶
func (*GetEmailScoreResponse) ProtoMessage()
func (*GetEmailScoreResponse) ProtoReflect ¶
func (x *GetEmailScoreResponse) ProtoReflect() protoreflect.Message
func (*GetEmailScoreResponse) Reset ¶
func (x *GetEmailScoreResponse) Reset()
func (*GetEmailScoreResponse) String ¶
func (x *GetEmailScoreResponse) String() string
type GetIPResponse ¶
type GetIPResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Proxy bool `protobuf:"varint,2,opt,name=proxy,proto3" json:"proxy,omitempty"` ISP string `protobuf:"bytes,3,opt,name=ISP,proto3" json:"ISP,omitempty"` Organization string `protobuf:"bytes,4,opt,name=organization,proto3" json:"organization,omitempty"` ASN uint32 `protobuf:"varint,5,opt,name=ASN,proto3" json:"ASN,omitempty"` Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"` CountryCode string `protobuf:"bytes,7,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` City string `protobuf:"bytes,8,opt,name=city,proto3" json:"city,omitempty"` PostalCode string `protobuf:"bytes,9,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` Latitude float32 `protobuf:"fixed32,10,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float32 `protobuf:"fixed32,11,opt,name=longitude,proto3" json:"longitude,omitempty"` Timezone string `protobuf:"bytes,12,opt,name=timezone,proto3" json:"timezone,omitempty"` Vpn bool `protobuf:"varint,13,opt,name=vpn,proto3" json:"vpn,omitempty"` Tor bool `protobuf:"varint,14,opt,name=tor,proto3" json:"tor,omitempty"` RecentAbuse bool `protobuf:"varint,15,opt,name=recent_abuse,json=recentAbuse,proto3" json:"recent_abuse,omitempty"` Score uint32 `protobuf:"varint,16,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
func (*GetIPResponse) Descriptor
deprecated
func (*GetIPResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIPResponse.ProtoReflect.Descriptor instead.
func (*GetIPResponse) GetASN ¶
func (x *GetIPResponse) GetASN() uint32
func (*GetIPResponse) GetCity ¶
func (x *GetIPResponse) GetCity() string
func (*GetIPResponse) GetCountryCode ¶
func (x *GetIPResponse) GetCountryCode() string
func (*GetIPResponse) GetHostname ¶
func (x *GetIPResponse) GetHostname() string
func (*GetIPResponse) GetISP ¶
func (x *GetIPResponse) GetISP() string
func (*GetIPResponse) GetLatitude ¶
func (x *GetIPResponse) GetLatitude() float32
func (*GetIPResponse) GetLongitude ¶
func (x *GetIPResponse) GetLongitude() float32
func (*GetIPResponse) GetOrganization ¶
func (x *GetIPResponse) GetOrganization() string
func (*GetIPResponse) GetPostalCode ¶
func (x *GetIPResponse) GetPostalCode() string
func (*GetIPResponse) GetProxy ¶
func (x *GetIPResponse) GetProxy() bool
func (*GetIPResponse) GetRecentAbuse ¶
func (x *GetIPResponse) GetRecentAbuse() bool
func (*GetIPResponse) GetScore ¶
func (x *GetIPResponse) GetScore() uint32
func (*GetIPResponse) GetSuccess ¶
func (x *GetIPResponse) GetSuccess() bool
func (*GetIPResponse) GetTimezone ¶
func (x *GetIPResponse) GetTimezone() string
func (*GetIPResponse) GetTor ¶
func (x *GetIPResponse) GetTor() bool
func (*GetIPResponse) GetVpn ¶
func (x *GetIPResponse) GetVpn() bool
func (*GetIPResponse) ProtoMessage ¶
func (*GetIPResponse) ProtoMessage()
func (*GetIPResponse) ProtoReflect ¶
func (x *GetIPResponse) ProtoReflect() protoreflect.Message
func (*GetIPResponse) Reset ¶
func (x *GetIPResponse) Reset()
func (*GetIPResponse) String ¶
func (x *GetIPResponse) String() string
type GetIPScoreResponse ¶
type GetIPScoreResponse struct { Score uint32 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
func (*GetIPScoreResponse) Descriptor
deprecated
func (*GetIPScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIPScoreResponse.ProtoReflect.Descriptor instead.
func (*GetIPScoreResponse) GetScore ¶
func (x *GetIPScoreResponse) GetScore() uint32
func (*GetIPScoreResponse) ProtoMessage ¶
func (*GetIPScoreResponse) ProtoMessage()
func (*GetIPScoreResponse) ProtoReflect ¶
func (x *GetIPScoreResponse) ProtoReflect() protoreflect.Message
func (*GetIPScoreResponse) Reset ¶
func (x *GetIPScoreResponse) Reset()
func (*GetIPScoreResponse) String ¶
func (x *GetIPScoreResponse) String() string
type GetProxyListResponse ¶
type GetProxyListResponse struct { Proxies []*Proxy `protobuf:"bytes,1,rep,name=proxies,proto3" json:"proxies,omitempty"` // contains filtered or unexported fields }
func (*GetProxyListResponse) Descriptor
deprecated
func (*GetProxyListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProxyListResponse.ProtoReflect.Descriptor instead.
func (*GetProxyListResponse) GetProxies ¶
func (x *GetProxyListResponse) GetProxies() []*Proxy
func (*GetProxyListResponse) ProtoMessage ¶
func (*GetProxyListResponse) ProtoMessage()
func (*GetProxyListResponse) ProtoReflect ¶
func (x *GetProxyListResponse) ProtoReflect() protoreflect.Message
func (*GetProxyListResponse) Reset ¶
func (x *GetProxyListResponse) Reset()
func (*GetProxyListResponse) String ¶
func (x *GetProxyListResponse) String() string
type GetSpamListResponse ¶
type GetSpamListResponse struct { Spam []string `protobuf:"bytes,1,rep,name=spam,proto3" json:"spam,omitempty"` // contains filtered or unexported fields }
func (*GetSpamListResponse) Descriptor
deprecated
func (*GetSpamListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSpamListResponse.ProtoReflect.Descriptor instead.
func (*GetSpamListResponse) GetSpam ¶
func (x *GetSpamListResponse) GetSpam() []string
func (*GetSpamListResponse) ProtoMessage ¶
func (*GetSpamListResponse) ProtoMessage()
func (*GetSpamListResponse) ProtoReflect ¶
func (x *GetSpamListResponse) ProtoReflect() protoreflect.Message
func (*GetSpamListResponse) Reset ¶
func (x *GetSpamListResponse) Reset()
func (*GetSpamListResponse) String ¶
func (x *GetSpamListResponse) String() string
type GetTorListResponse ¶
type GetTorListResponse struct { Tor []string `protobuf:"bytes,1,rep,name=tor,proto3" json:"tor,omitempty"` // contains filtered or unexported fields }
func (*GetTorListResponse) Descriptor
deprecated
func (*GetTorListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTorListResponse.ProtoReflect.Descriptor instead.
func (*GetTorListResponse) GetTor ¶
func (x *GetTorListResponse) GetTor() []string
func (*GetTorListResponse) ProtoMessage ¶
func (*GetTorListResponse) ProtoMessage()
func (*GetTorListResponse) ProtoReflect ¶
func (x *GetTorListResponse) ProtoReflect() protoreflect.Message
func (*GetTorListResponse) Reset ¶
func (x *GetTorListResponse) Reset()
func (*GetTorListResponse) String ¶
func (x *GetTorListResponse) String() string
type GetVPNListResponse ¶
type GetVPNListResponse struct { Vpn []string `protobuf:"bytes,1,rep,name=vpn,proto3" json:"vpn,omitempty"` // contains filtered or unexported fields }
func (*GetVPNListResponse) Descriptor
deprecated
func (*GetVPNListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVPNListResponse.ProtoReflect.Descriptor instead.
func (*GetVPNListResponse) GetVpn ¶
func (x *GetVPNListResponse) GetVpn() []string
func (*GetVPNListResponse) ProtoMessage ¶
func (*GetVPNListResponse) ProtoMessage()
func (*GetVPNListResponse) ProtoReflect ¶
func (x *GetVPNListResponse) ProtoReflect() protoreflect.Message
func (*GetVPNListResponse) Reset ¶
func (x *GetVPNListResponse) Reset()
func (*GetVPNListResponse) String ¶
func (x *GetVPNListResponse) String() string
type IPRequest ¶
type IPRequest struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*IPRequest) Descriptor
deprecated
func (*IPRequest) ProtoMessage ¶
func (*IPRequest) ProtoMessage()
func (*IPRequest) ProtoReflect ¶
func (x *IPRequest) ProtoReflect() protoreflect.Message
type IPServiceClient ¶
type IPServiceClient interface { GetScore(ctx context.Context, in *IPRequest, opts ...grpc.CallOption) (*GetIPScoreResponse, error) GetIP(ctx context.Context, in *IPRequest, opts ...grpc.CallOption) (*GetIPResponse, error) GetProxyList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetProxyListResponse, error) GetSpamList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetSpamListResponse, error) GetTorList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetTorListResponse, error) GetVPNList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetVPNListResponse, error) }
IPServiceClient is the client API for IPService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIPServiceClient ¶
func NewIPServiceClient(cc grpc.ClientConnInterface) IPServiceClient
type IPServiceServer ¶
type IPServiceServer interface { GetScore(context.Context, *IPRequest) (*GetIPScoreResponse, error) GetIP(context.Context, *IPRequest) (*GetIPResponse, error) GetProxyList(context.Context, *empty.Empty) (*GetProxyListResponse, error) GetSpamList(context.Context, *empty.Empty) (*GetSpamListResponse, error) GetTorList(context.Context, *empty.Empty) (*GetTorListResponse, error) GetVPNList(context.Context, *empty.Empty) (*GetVPNListResponse, error) }
IPServiceServer is the server API for IPService service.
type Proxy ¶
type Proxy struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Port string `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Proxy) Descriptor
deprecated
func (*Proxy) GetCreatedAt ¶
func (*Proxy) GetDeletedAt ¶
func (*Proxy) GetUpdatedAt ¶
func (*Proxy) ProtoMessage ¶
func (*Proxy) ProtoMessage()
func (*Proxy) ProtoReflect ¶
func (x *Proxy) ProtoReflect() protoreflect.Message
type Spam ¶
type Spam struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Spam) Descriptor
deprecated
func (*Spam) GetCreatedAt ¶
func (*Spam) GetDeletedAt ¶
func (*Spam) GetUpdatedAt ¶
func (*Spam) ProtoMessage ¶
func (*Spam) ProtoMessage()
func (*Spam) ProtoReflect ¶
func (x *Spam) ProtoReflect() protoreflect.Message
type Tor ¶
type Tor struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Tor) Descriptor
deprecated
func (*Tor) GetCreatedAt ¶
func (*Tor) GetUpdatedAt ¶
func (*Tor) ProtoMessage ¶
func (*Tor) ProtoMessage()
func (*Tor) ProtoReflect ¶
func (x *Tor) ProtoReflect() protoreflect.Message
type UnimplementedEmailServiceServer ¶
type UnimplementedEmailServiceServer struct { }
UnimplementedEmailServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedEmailServiceServer) GetDisposableList ¶
func (*UnimplementedEmailServiceServer) GetDisposableList(context.Context, *empty.Empty) (*GetEmailListResponse, error)
func (*UnimplementedEmailServiceServer) GetEmail ¶
func (*UnimplementedEmailServiceServer) GetEmail(context.Context, *EmailRequest) (*GetEmailResponse, error)
func (*UnimplementedEmailServiceServer) GetFreeEmailList ¶
func (*UnimplementedEmailServiceServer) GetFreeEmailList(context.Context, *empty.Empty) (*GetEmailListResponse, error)
func (*UnimplementedEmailServiceServer) GetGenericList ¶
func (*UnimplementedEmailServiceServer) GetGenericList(context.Context, *empty.Empty) (*GetEmailListResponse, error)
func (*UnimplementedEmailServiceServer) GetScore ¶
func (*UnimplementedEmailServiceServer) GetScore(context.Context, *EmailRequest) (*GetEmailScoreResponse, error)
func (*UnimplementedEmailServiceServer) GetSpamList ¶
func (*UnimplementedEmailServiceServer) GetSpamList(context.Context, *empty.Empty) (*GetEmailListResponse, error)
type UnimplementedIPServiceServer ¶
type UnimplementedIPServiceServer struct { }
UnimplementedIPServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedIPServiceServer) GetIP ¶
func (*UnimplementedIPServiceServer) GetIP(context.Context, *IPRequest) (*GetIPResponse, error)
func (*UnimplementedIPServiceServer) GetProxyList ¶
func (*UnimplementedIPServiceServer) GetProxyList(context.Context, *empty.Empty) (*GetProxyListResponse, error)
func (*UnimplementedIPServiceServer) GetScore ¶
func (*UnimplementedIPServiceServer) GetScore(context.Context, *IPRequest) (*GetIPScoreResponse, error)
func (*UnimplementedIPServiceServer) GetSpamList ¶
func (*UnimplementedIPServiceServer) GetSpamList(context.Context, *empty.Empty) (*GetSpamListResponse, error)
func (*UnimplementedIPServiceServer) GetTorList ¶
func (*UnimplementedIPServiceServer) GetTorList(context.Context, *empty.Empty) (*GetTorListResponse, error)
func (*UnimplementedIPServiceServer) GetVPNList ¶
func (*UnimplementedIPServiceServer) GetVPNList(context.Context, *empty.Empty) (*GetVPNListResponse, error)
type VPN ¶
type VPN struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*VPN) Descriptor
deprecated
func (*VPN) GetCreatedAt ¶
func (*VPN) GetDeletedAt ¶
func (*VPN) GetUpdatedAt ¶
func (*VPN) ProtoMessage ¶
func (*VPN) ProtoMessage()
func (*VPN) ProtoReflect ¶
func (x *VPN) ProtoReflect() protoreflect.Message