blocklist_client

package
v0.0.0-...-1305305 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOGGER = logging.MustGetLogger("blocklist")

Functions

This section is empty.

Types

type Client

type Client struct {
	HTTPClient *http.Client
	AdminUrl   string
}

func (*Client) AddBlocklist

func (client *Client) AddBlocklist(payload string) (string, error)

func (*Client) GetBlocklist

func (client *Client) GetBlocklist(blocklistType string) ([]model.Blocklist, error)

func (*Client) RemoveBlocklist

func (client *Client) RemoveBlocklist(payload string) (string, error)

func (*Client) ValidateFromBlocklist

func (client *Client) ValidateFromBlocklist(countries []string, currencies []string, participants []string) (string, error)

Jump to

Keyboard shortcuts

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