hades

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package hades contains code for interacting with Hades - antifraud service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AntiFraudRequest

type AntiFraudRequest struct {
	ID      uint64            `json:"id"`
	Address string            `json:"address"`
	Data    schema.PDVWrapper `json:"data"`
}

AntiFraudRequest ...

type AntiFraudResponse

type AntiFraudResponse struct {
	IsFraud bool `json:"isFraud"`
}

AntiFraudResponse ...

type Hades

type Hades interface {
	AntiFraud(ctx context.Context, req *AntiFraudRequest) (*AntiFraudResponse, error)
}

Hades is an interface for antifraud checking.

func New

func New(baseURL string) Hades

New create a new Hades client.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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