const.go 837 B

123456789101112131415161718192021222324252627282930313233
  1. package common
  2. const (
  3. CONN_DATA_SEQ = "*#*" //Separator
  4. VERIFY_EER = "vkey"
  5. VERIFY_SUCCESS = "sucs"
  6. WORK_MAIN = "main"
  7. WORK_CHAN = "chan"
  8. WORK_CONFIG = "conf"
  9. WORK_REGISTER = "rgst"
  10. WORK_SECRET = "sert"
  11. WORK_FILE = "file"
  12. WORK_P2P = "p2pm"
  13. WORK_P2P_VISITOR = "p2pv"
  14. WORK_P2P_PROVIDER = "p2pp"
  15. WORK_STATUS = "stus"
  16. RES_MSG = "msg0"
  17. RES_CLOSE = "clse"
  18. NEW_UDP_CONN = "udpc" //p2p udp conn
  19. NEW_TASK = "task"
  20. NEW_CONF = "conf"
  21. NEW_HOST = "host"
  22. CONN_TCP = "tcp"
  23. CONN_UDP = "udp"
  24. UnauthorizedBytes = `HTTP/1.1 401 Unauthorized
  25. Content-Type: text/plain; charset=utf-8
  26. WWW-Authenticate: Basic realm="easyProxy"
  27. 401 Unauthorized`
  28. ConnectionFailBytes = `HTTP/1.1 404 Not Found
  29. `
  30. )