ofac

package
v0.0.0-...-7cdd60a Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OFAC

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

func New

func New(enabled bool, apiKey string) *OFAC

func (OFAC) IsBanned

func (o OFAC) IsBanned(source, destination string) (bool, error)

type Response

type Response struct {
	Identifications []struct {
		Category    string `json:"category"`
		Name        string `json:"name"`
		Description string `json:"description"`
		URL         string `json:"url"`
	} `json:"identifications"`
}

Jump to

Keyboard shortcuts

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