db

package
v0.0.0-...-86399fd Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Collection = "antispam"

Variables

This section is empty.

Functions

func (*AntispamDb) Delete

func (a *AntispamDb) Delete(antispam Antispam) error

func (*AntispamDb) FindById

func (a *AntispamDb) FindById(id string) (Antispam, error)

func (*AntispamDb) Insert

func (a *AntispamDb) Insert(antispam Antispam) error

func (*AntispamDb) Update

func (a *AntispamDb) Update(antispam Antispam) error

Types

type AntispamDB

type AntispamDB struct {
	Server   string
	Database string
}

func (*AntispamDB) Connect

func (a *AntispamDB) Connect()

Jump to

Keyboard shortcuts

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