impl

package
v0.5.11 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EmailSrv *EmailService
	IPSrv    *IPService
)

Functions

func InitRPCService

func InitRPCService(app *app.App)

Types

type EmailService

type EmailService struct {
	// contains filtered or unexported fields
}

func NewEmailService

func NewEmailService(app *app.App) *EmailService

func (EmailService) GetDisposableList

func (e EmailService) GetDisposableList(ctx context.Context, empty *empty.Empty) (*proto.GetEmailListResponse, error)

func (EmailService) GetEmail

func (e EmailService) GetEmail(ctx context.Context, request *proto.EmailRequest) (*proto.GetEmailResponse, error)

func (EmailService) GetFreeEmailList

func (e EmailService) GetFreeEmailList(ctx context.Context, e2 *empty.Empty) (*proto.GetEmailListResponse, error)

func (EmailService) GetGenericList

func (e EmailService) GetGenericList(ctx context.Context, empty *empty.Empty) (*proto.GetEmailListResponse, error)

func (EmailService) GetScore

func (EmailService) GetSpamList

func (e EmailService) GetSpamList(ctx context.Context, e2 *empty.Empty) (*proto.GetEmailListResponse, error)

type IPService

type IPService struct {
	// contains filtered or unexported fields
}

func NewIPService

func NewIPService(app *app.App) *IPService

func (IPService) GetIP

func (i IPService) GetIP(ctx context.Context, request *proto.IPRequest) (*proto.GetIPResponse, error)

func (IPService) GetProxyList

func (i IPService) GetProxyList(ctx context.Context, empty *empty.Empty) (*proto.GetProxyListResponse, error)

func (IPService) GetScore

func (i IPService) GetScore(ctx context.Context, request *proto.IPRequest) (*proto.GetIPScoreResponse, error)

func (IPService) GetSpamList

func (i IPService) GetSpamList(ctx context.Context, empty *empty.Empty) (*proto.GetSpamListResponse, error)

func (IPService) GetTorList

func (i IPService) GetTorList(ctx context.Context, empty *empty.Empty) (*proto.GetTorListResponse, error)

func (IPService) GetVPNList

func (i IPService) GetVPNList(ctx context.Context, empty *empty.Empty) (*proto.GetVPNListResponse, error)

Jump to

Keyboard shortcuts

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