package observer import "strconv" type KEY int func (k KEY) String() string { return strconv.Itoa(int(k)) } const ( ADD_CRAWLER = KEY(iota) REMOVE_CRAWLER DATA_QUEUE EVENT_QUEUE )