You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package task |
|
|
|
import ( |
|
"server/pb" |
|
) |
|
|
|
func (w *WsWork) Login() { |
|
req := &pb.LoginRequest{ |
|
UserId: uint32(w.UID), |
|
Token: w.Token, |
|
} |
|
w.Write(int(pb.ServerType_SERVER_TYPE_GATEWAY), int(pb.ServerGateReq_GateLoginReq), req) |
|
}
|
|
|