This commit is contained in:
jackdaw@loafle.com 2017-04-14 17:14:42 +09:00
parent 0ad3637ab4
commit 904d06dffe

15
observer/const.go Normal file
View File

@ -0,0 +1,15 @@
package observer
import "strconv"
type KEY int
func (k KEY) String() string {
return strconv.Itoa(int(k))
}
const (
ADD_CRAWLER = KEY(iota)
REMOVE_CRAWLER
)