screener-api

command module
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 3 Imported by: 0

README

Screening API

Go Reference Go Report Card

The screening api provides a simple restful interface for checking wether an address is blocked or not against a variety of data sources. Right now, two data sources are supported:

  • Blacklist URL: a json list of addresses that are blocked
  • TRM Labs: a list of rules that are used to determine if an address is blocked, can be different per "rule set"

Addresses themselves are checked against specific rulesets:

https://screener-url/[ruleset]/address/[address]

root
├── client: client library for using the screening api.
├── cmd: contains the command line interface to be used for the screener.
├── config: Yaml config struct/parsing.
├── db: db interface for the screener.
├── screener: screening code.
├── trmlabs: trm client stub.

Documentation

Overview

Package main provides the entry point for the screener-api.

Directories

Path Synopsis
Package client provides a client for the screener-api.
Package client provides a client for the screener-api.
Package cmd provides the command line interface for the screener-api.
Package cmd provides the command line interface for the screener-api.
Package config provides configuration for the screener-api.
Package config provides configuration for the screener-api.
db
Package db provides the database interface for the screener-api.
Package db provides the database interface for the screener-api.
sql
Package sql provides a sql store for the screener-api.
Package sql provides a sql store for the screener-api.
sql/base
Package base provides a base store for the screener-api.
Package base provides a base store for the screener-api.
sql/mysql
Package mysql provides a mysql store for the screener-api.
Package mysql provides a mysql store for the screener-api.
sql/sqlite
Package sqlite provides a sqlite store for the screener-api.
Package sqlite provides a sqlite store for the screener-api.
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
Package metadata provides a metadata service for the RFQ API.
Package metadata provides a metadata service for the RFQ API.
Package screener provides the screener api.
Package screener provides the screener api.
internal
Package internal provides internal functionality for the screener-api.
Package internal provides internal functionality for the screener-api.
Package trmlabs contains the implementation of the TRM Labs API client.
Package trmlabs contains the implementation of the TRM Labs API client.

Jump to

Keyboard shortcuts

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