Documentation ¶
Index ¶
- func AddLegitDomainToDB(d domains.LegitDomain)
- func AddReliableChangeListToDB(tds []reliableChanges.ReliableChange)
- func AddReliableChangeToDB(rc reliableChanges.ReliableChange)
- func AddTypoDomainToDB(td domains.TypoDomain)
- func AddTypoListToDB(tds domains.TypoList)
- func CloseDB()
- func DeleteExprToChDB(rc reliableChanges.ReliableChange, cron reliableChanges.CronExpression)
- func GetAllTypoDomainListFromDB() domains.TypoList
- func GetCronExpressionFromDB(expression string) reliableChanges.CronExpression
- func GetLegitDomainFromDB(nameMainDomain string) (domains.LegitDomain, error)
- func GetMainDomainListFromDB() domains.LegitList
- func GetRelaibleChangesFromDB() (err error, changes reliableChanges.ReliableChangeList)
- func GetRelaibleChangesFromDBWithExpression(expression string) (err error, changes reliableChanges.ReliableChangeList)
- func GetTypoDomainFromDB(nameTypoDomain string) domains.TypoDomain
- func GetTypoDomainHistoryFromDB(typoDomain string) domains.TypoList
- func GetTypoDomainListFromDB(mainDomain string) domains.TypoList
- func GetTypoDomainListWithStatusFromDB(mainDomain string, status []int) domains.TypoList
- func InitDB(nameDB string)
- func RemoveLegitDomainFromDB(nameLegitDomain string)
- func RemoveTypoDomainFromDB(nameTypoDomain string)
- func SaveReliableChangeToDB(rc reliableChanges.ReliableChange)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLegitDomainToDB ¶
func AddLegitDomainToDB(d domains.LegitDomain)
Add a main-DomainName in the DataBase
func AddReliableChangeListToDB ¶
func AddReliableChangeListToDB(tds []reliableChanges.ReliableChange)
func AddReliableChangeToDB ¶
func AddReliableChangeToDB(rc reliableChanges.ReliableChange)
func AddTypoDomainToDB ¶
func AddTypoDomainToDB(td domains.TypoDomain)
Add a typo-DomainName in the DataBase
func AddTypoListToDB ¶
func DeleteExprToChDB ¶
func DeleteExprToChDB(rc reliableChanges.ReliableChange, cron reliableChanges.CronExpression)
func GetAllTypoDomainListFromDB ¶
Return a list of all the typo-domains about mainDomain
func GetCronExpressionFromDB ¶
func GetCronExpressionFromDB(expression string) reliableChanges.CronExpression
func GetLegitDomainFromDB ¶
func GetLegitDomainFromDB(nameMainDomain string) (domains.LegitDomain, error)
Get a main-DomainName from the DataBase
func GetMainDomainListFromDB ¶
Return a list of all the main-domains
func GetRelaibleChangesFromDB ¶
func GetRelaibleChangesFromDB() (err error, changes reliableChanges.ReliableChangeList)
func GetRelaibleChangesFromDBWithExpression ¶
func GetRelaibleChangesFromDBWithExpression(expression string) (err error, changes reliableChanges.ReliableChangeList)
func GetTypoDomainFromDB ¶
func GetTypoDomainFromDB(nameTypoDomain string) domains.TypoDomain
Get a typo-DomainName from the DataBase
func GetTypoDomainHistoryFromDB ¶
Return a list of all the typo-domains about mainDomain
func GetTypoDomainListFromDB ¶
Return a list of all the typo-domains about mainDomain
func RemoveLegitDomainFromDB ¶
func RemoveLegitDomainFromDB(nameLegitDomain string)
remove a main-DomainName from the DataBase
func RemoveTypoDomainFromDB ¶
func RemoveTypoDomainFromDB(nameTypoDomain string)
func SaveReliableChangeToDB ¶
func SaveReliableChangeToDB(rc reliableChanges.ReliableChange)
Add a typo-DomainName in the DataBase
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.