dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

tableOnionBlacklist.go (242B)


      1 package database
      2 
      3 import "time"
      4 
      5 type OnionBlacklist struct {
      6 	Md5       string
      7 	CreatedAt time.Time
      8 }
      9 
     10 func (d *DkfDB) GetOnionBlacklist(hash string) (out OnionBlacklist, err error) {
     11 	err = d.db.First(&out, "md5 = ?", hash).Error
     12 	return
     13 }