v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPBlackRequest

type IPBlackRequest struct {
	IP         string `json:"ip" form:"ip" validate:"required"`
	CustomerID int64  `json:"customer_id" form:"customer_id" validate:"required"`
	Minute     int64  `json:"minute" form:"minute" validate:"required"`
}

IPBlackRequest .

type IPBlackResponse

type IPBlackResponse struct {
}

IPBlackResponse .

type IPDetailRequest

type IPDetailRequest struct {
	IP        string `json:"ip" form:"ip" validate:"required"`
	Timestamp int64  `json:"timestamp" form:"timestamp" validate:"required"`
}

IPDetailRequest .

type IPDetailResponse

type IPDetailResponse struct {
	List []*ListDetail `json:"list"`
}

IPDetailResponse .

type IPListDetail

type IPListDetail struct {
	IP        string `json:"ip"`
	Num       int64  `json:"num"`
	Timestamp int64  `json:"timestamp"`
}

IPListDetail .

type IPListRequest

type IPListRequest struct {
}

IPListRequest .

type IPListResponse

type IPListResponse struct {
	List []*IPListDetail `json:"list"`
}

IPListResponse .

type ListDetail

type ListDetail struct {
	UID string `json:"uid"`
	IP  string `json:"ip"`
}

ListDetail .

type RiskCheckV2Request

type RiskCheckV2Request struct {
	UID           int64  `json:"uid" form:"uid" validate:"required"`
	UserClientIP  string `json:"userClientIp" form:"userClientIp" validate:"required"`
	InterfaceName string `json:"interfaceName" form:"interfaceName" validate:"required"`
	InterfaceDesc string `json:"interfaceDesc" form:"interfaceDesc" validate:"required"`
	CustomerID    int64  `json:"customerID" form:"customerId" validate:"required"`
	DeviceInfo    string `json:"deviceInfo" form:"deviceInfo" validate:"required"`
	ItemInfo      string `json:"itemInfo" form:"itemInfo" validate:"required"`
	BuyerInfo     string `json:"buyerInfo" form:"buyerInfo"`
	AddrInfo      string `json:"addrInfo" form:"addrInfo"`
	Voucher       string `json:"voucher" form:"voucher"`
	ReqData       string `json:"reqData" form:"reqData" validate:"required"`
	ExtraData     string `json:"extraData" form:"extraData"`
}

RiskCheckV2Request .

type RiskCheckV2Response

type RiskCheckV2Response struct {
	RiskID    int64  `json:"riskId"`
	RiskLevel int64  `json:"riskLevel"`
	Method    string `json:"method"`
	Desc      string `json:"desc"`
}

RiskCheckV2Response .

type UIDBlackRequest

type UIDBlackRequest struct {
	UID        string `json:"uid" form:"uid" validate:"required"`
	CustomerID int64  `json:"customer_id" form:"customer_id" validate:"required"`
	Minute     int64  `json:"minute" form:"minute" validate:"required"`
}

UIDBlackRequest .

type UIDBlackResponse

type UIDBlackResponse struct {
}

UIDBlackResponse .

type UIDDetailRequest

type UIDDetailRequest struct {
	UID       string `json:"uid" form:"uid" validate:"required"`
	Timestamp int64  `json:"timestamp" form:"timestamp" validate:"required"`
}

UIDDetailRequest .

type UIDDetailResponse

type UIDDetailResponse struct {
	List []*ListDetail `json:"list"`
}

UIDDetailResponse .

type UIDListDetail

type UIDListDetail struct {
	UID       string `json:"uid"`
	Num       int64  `json:"num"`
	Timestamp int64  `json:"timestamp"`
}

UIDListDetail .

type UIDListRequest

type UIDListRequest struct {
}

UIDListRequest .

type UIDListResponse

type UIDListResponse struct {
	List []*UIDListDetail `json:"list"`
}

UIDListResponse .

Jump to

Keyboard shortcuts

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