Versions in this module Expand all Collapse all v1 v1.0.4 Sep 21, 2018 Changes in this version + const C2C_DATA + const C2S_AUTHORIZE + const C2S_DATA + const C2S_HEARTBEAT + const MAX_PAYLOAD + const S2C_AUTHORIZE + const S2C_DATA + const S2C_HEARTBEAT + func Decode(conn net.Conn) (byte, []byte, error) + func Encode(cmd byte, payload []byte) ([]byte, error) + type C2SAuthorize struct + AccessIP string + Key string + type S2CAuthorize struct + AccessIP string + Gateway string + Nameservers []string + RouteScriptUrl string + Status string Incompatible versions in this module v2.0.1+incompatible Apr 1, 2019