scamdb

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

README

scamdb-api

API-Library to interact with Scam-DB

Supported Databases

Use cases

Database Very Fast access* Reliability Easy-to-install Lightweight
GitHub
Local Depending on medium ❌ (except RAID)
SQLite Depending on medium ❌ (except RAID)
MySQL
CockroachDB N/A ❌/☁

*: Database can handle a lot of traffic and is recommended for commercial/large use. All of them are fast enough for private/small or moderate use with plug-and-play.

Usage

See the wiki for more

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScamDB added in v0.2.0

func NewScamDB(name string, typ types.DatabaseType, url string, user string, token string) types.Database

func ReadServers added in v0.1.3

func ReadServers(filename string) ([]types.ServerEntry, error)

func ScamDB added in v0.1.3

func ScamDB(entry types.ServerEntry) types.Database

func WriteServers added in v0.1.3

func WriteServers(data []types.ServerEntry, filename string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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