SYMBOL INDEX (58 symbols across 11 files) FILE: src/shortService/CountThread.go function CountThread (line 15) | func CountThread(count_chan_in chan shortlib.CountChannl) { FILE: src/shortService/OriginalProcessor.go type OriginalProcessor (line 18) | type OriginalProcessor struct method ProcessRequest (line 39) | func (this *OriginalProcessor) ProcessRequest(method, request_url stri... method createUrl (line 87) | func (this *OriginalProcessor) createUrl(original_url string) (string,... method createResponseJson (line 120) | func (this *OriginalProcessor) createResponseJson(short_url string) (s... constant POST (line 23) | POST string = "POST" constant TOKEN (line 24) | TOKEN string = "token" constant ORIGINAL_URL (line 25) | ORIGINAL_URL string = "original" constant SHORT_URL (line 26) | SHORT_URL string = "short" FILE: src/shortService/Server.go function main (line 18) | func main() { FILE: src/shortService/ShortProcessor.go type ShortProcessor (line 16) | type ShortProcessor struct method ProcessRequest (line 20) | func (this *ShortProcessor) ProcessRequest(method, request_url string,... method GetOriginalURL (line 37) | func (this *ShortProcessor) GetOriginalURL(request_url string) (string... FILE: src/shortlib/Configure.go type Configure (line 16) | type Configure struct method loopConfigure (line 32) | func (this *Configure) loopConfigure(sectionName string, cfg *config.C... method ParseConfigure (line 52) | func (this *Configure) ParseConfigure(filename string) error { method GetPort (line 66) | func (this *Configure) GetPort() (int, error) { method GetRedisHost (line 81) | func (this *Configure) GetRedisHost() (string, error) { method GetRedisPort (line 91) | func (this *Configure) GetRedisPort() (string, error) { method GetRedisStatus (line 101) | func (this *Configure) GetRedisStatus() bool { method GetHostInfo (line 115) | func (this *Configure) GetHostInfo() string { method GetCounterType (line 126) | func (this *Configure) GetCounterType() string { function NewConfigure (line 20) | func NewConfigure(filename string) (*Configure, error) { FILE: src/shortlib/LRU.go type UrlElement (line 16) | type UrlElement struct type LRU (line 21) | type LRU struct method GetOriginalURL (line 34) | func (this *LRU) GetOriginalURL(short_url string) (string, error) { method GetShortURL (line 57) | func (this *LRU) GetShortURL(original_url string) (string, error) { method SetURL (line 83) | func (this *LRU) SetURL(original_url, short_url string) error { method checkList (line 98) | func (this *LRU) checkList() error { function NewLRU (line 28) | func NewLRU(redis_cli *RedisAdaptor) (*LRU, error) { FILE: src/shortlib/LRU_test.go function Test_SetURL (line 14) | func Test_SetURL(t *testing.T) { FILE: src/shortlib/Processor.go type Processor (line 13) | type Processor interface type BaseProcessor (line 22) | type BaseProcessor struct FILE: src/shortlib/RedisAdaptor.go type RedisAdaptor (line 15) | type RedisAdaptor struct method Release (line 41) | func (this *RedisAdaptor) Release() { method InitCountService (line 45) | func (this *RedisAdaptor) InitCountService() error { method NewShortUrlCount (line 55) | func (this *RedisAdaptor) NewShortUrlCount() (int64, error) { method SetUrl (line 66) | func (this *RedisAdaptor) SetUrl(short_url, original_url string) error { method GetUrl (line 76) | func (this *RedisAdaptor) GetUrl(short_url string) (string, error) { constant SHORT_URL_COUNT_KEY (line 20) | SHORT_URL_COUNT_KEY string = "short_url_count" function NewRedisAdaptor (line 22) | func NewRedisAdaptor(config *Configure) (*RedisAdaptor, error) { FILE: src/shortlib/Router.go type Router (line 18) | type Router struct method ServeHTTP (line 31) | func (this *Router) ServeHTTP(w http.ResponseWriter, r *http.Request) { method ParseUrl (line 71) | func (this *Router) ParseUrl(url string) (action int, err error) { method isShortUrl (line 81) | func (this *Router) isShortUrl(url string) bool { constant SHORT_URL (line 24) | SHORT_URL = 0 constant ORIGINAL_URL (line 25) | ORIGINAL_URL = 1 constant UNKOWN_URL (line 26) | UNKOWN_URL = 2 FILE: src/shortlib/Utils.go type CountChannl (line 16) | type CountChannl struct type CreateCountFunc (line 21) | type CreateCountFunc function IsAllowToken (line 23) | func IsAllowToken(token string) bool { function IsNormalUrl (line 28) | func IsNormalUrl(url string) bool { function TransNumToString (line 32) | func TransNumToString(num int64) (string, error) { function TransStringToNum (line 52) | func TransStringToNum(str string) (int64, error) { function TimeNow (line 57) | func TimeNow() time.Time { function DuringTime (line 61) | func DuringTime(start time.Time, taskname string) { function IsShortUrl (line 68) | func IsShortUrl(short_url string) error { function CreateCounter (line 72) | func CreateCounter(count_type string, count_chan chan CountChannl, redis...