crawler_go/const.go
jackdaw@loafle.com a1a8d24728 .
2017-04-11 17:42:02 +09:00

38 lines
328 B
Go

package crawler
import (
"strconv"
)
type CrawlerName int
func (c CrawlerName) String() string {
return strconv.Itoa(int(c))
}
const (
ACTIVEDIRECTORY = CrawlerName(iota)
DNS
FTP
FTPS
IMAP
LDAP
MONGODB
MSSQL
MYSQL
MARIADB
PGSQL
NETBIOS
ORACLE
POP3
REDIS
RMI
SMB
SMTP
SNMPV2C
SNMPV3
SSH
TELNET
WMI
)