db

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

redis_op.go

sqlite_op.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMonitor

func AddMonitor(domain string, subdomain string, status int) (err error)

func CheckMd5InDB

func CheckMd5InDB(fileMd5 string) bool

func DelMd5InDB

func DelMd5InDB(md5 string)

func DeleteMonitor

func DeleteMonitor(domain string, subdomain string, status int) (err error)

func GetMonitoredSub

func GetMonitoredSub(domain string) (domains []string)

func Getdomains

func Getdomains() (domains []string)

func InsertNewFindMd5

func InsertNewFindMd5(fname string, fmd5 string)

func SearchFileMd5

func SearchFileMd5(fileName string) string

func SetMd5InDB

func SetMd5InDB(fileMd5 string)

func Test

func Test(domain string, subdomain string)

func UpdateFileMd5

func UpdateFileMd5(fileName string, fileMd5 string)

Types

type SubdomainInfos

type SubdomainInfos struct {
	Domain      string
	Subdomain   string
	Updatetime  string
	Checkedtime int
	IFON        int
	STATUS      int
}

func GetSubDomianInfo

func GetSubDomianInfo(subdomain string) (dinfos []SubdomainInfos)

Jump to

Keyboard shortcuts

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