()
| 58 | s.PassWord = password |
| 59 | } |
| 60 | func (s *Quake) GetResult() Result { |
| 61 | s.result = Result{} |
| 62 | switch s.Type { |
| 63 | case "subdomain": |
| 64 | s.GetSubDomain(1) |
| 65 | case "sameserver": |
| 66 | s.GetIp(1) |
| 67 | case "ports": |
| 68 | s.GetPorts() |
| 69 | } |
| 70 | return s.result |
| 71 | } |
| 72 | func (s *Quake) Login(ReLogin bool) bool { |
| 73 | //s.http = HttpHelper{} |
| 74 | return true |