1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-05 03:23:50 +08:00
MiraiGo/client/pb/qweb/protocol.pb.go
2021-11-26 10:19:08 +08:00

244 lines
4.4 KiB
Go

// Code generated by protoc-gen-golite. DO NOT EDIT.
// source: protocol.proto
package qweb
type QWebReq struct {
Seq *int64 `protobuf:"varint,1,opt"`
Qua *string `protobuf:"bytes,2,opt"`
DeviceInfo *string `protobuf:"bytes,3,opt"`
BusiBuff []byte `protobuf:"bytes,4,opt"`
TraceId *string `protobuf:"bytes,5,opt"`
Module *string `protobuf:"bytes,6,opt"`
Cmdname *string `protobuf:"bytes,7,opt"`
LoginSig *StAuthInfo `protobuf:"bytes,8,opt"`
Crypto *StEncryption `protobuf:"bytes,9,opt"`
Extinfo []*COMMEntry `protobuf:"bytes,10,rep"`
ContentType *uint32 `protobuf:"varint,11,opt"`
}
func (x *QWebReq) GetSeq() int64 {
if x != nil && x.Seq != nil {
return *x.Seq
}
return 0
}
func (x *QWebReq) GetQua() string {
if x != nil && x.Qua != nil {
return *x.Qua
}
return ""
}
func (x *QWebReq) GetDeviceInfo() string {
if x != nil && x.DeviceInfo != nil {
return *x.DeviceInfo
}
return ""
}
func (x *QWebReq) GetBusiBuff() []byte {
if x != nil {
return x.BusiBuff
}
return nil
}
func (x *QWebReq) GetTraceId() string {
if x != nil && x.TraceId != nil {
return *x.TraceId
}
return ""
}
func (x *QWebReq) GetModule() string {
if x != nil && x.Module != nil {
return *x.Module
}
return ""
}
func (x *QWebReq) GetCmdname() string {
if x != nil && x.Cmdname != nil {
return *x.Cmdname
}
return ""
}
func (x *QWebReq) GetLoginSig() *StAuthInfo {
if x != nil {
return x.LoginSig
}
return nil
}
func (x *QWebReq) GetCrypto() *StEncryption {
if x != nil {
return x.Crypto
}
return nil
}
func (x *QWebReq) GetExtinfo() []*COMMEntry {
if x != nil {
return x.Extinfo
}
return nil
}
func (x *QWebReq) GetContentType() uint32 {
if x != nil && x.ContentType != nil {
return *x.ContentType
}
return 0
}
type QWebRsp struct {
Seq *int64 `protobuf:"varint,1,opt"`
RetCode *int64 `protobuf:"varint,2,opt"`
ErrMsg *string `protobuf:"bytes,3,opt"`
BusiBuff []byte `protobuf:"bytes,4,opt"`
Traceid *string `protobuf:"bytes,5,opt"`
}
func (x *QWebRsp) GetSeq() int64 {
if x != nil && x.Seq != nil {
return *x.Seq
}
return 0
}
func (x *QWebRsp) GetRetCode() int64 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *QWebRsp) GetErrMsg() string {
if x != nil && x.ErrMsg != nil {
return *x.ErrMsg
}
return ""
}
func (x *QWebRsp) GetBusiBuff() []byte {
if x != nil {
return x.BusiBuff
}
return nil
}
func (x *QWebRsp) GetTraceid() string {
if x != nil && x.Traceid != nil {
return *x.Traceid
}
return ""
}
type StAuthInfo struct {
Uin *string `protobuf:"bytes,1,opt"`
Sig []byte `protobuf:"bytes,2,opt"`
Platform *string `protobuf:"bytes,3,opt"`
Type *uint32 `protobuf:"varint,4,opt"`
Appid *string `protobuf:"bytes,5,opt"`
Openid *string `protobuf:"bytes,6,opt"`
Sessionkey []byte `protobuf:"bytes,7,opt"`
Extinfo []*COMMEntry `protobuf:"bytes,8,rep"`
}
func (x *StAuthInfo) GetUin() string {
if x != nil && x.Uin != nil {
return *x.Uin
}
return ""
}
func (x *StAuthInfo) GetSig() []byte {
if x != nil {
return x.Sig
}
return nil
}
func (x *StAuthInfo) GetPlatform() string {
if x != nil && x.Platform != nil {
return *x.Platform
}
return ""
}
func (x *StAuthInfo) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *StAuthInfo) GetAppid() string {
if x != nil && x.Appid != nil {
return *x.Appid
}
return ""
}
func (x *StAuthInfo) GetOpenid() string {
if x != nil && x.Openid != nil {
return *x.Openid
}
return ""
}
func (x *StAuthInfo) GetSessionkey() []byte {
if x != nil {
return x.Sessionkey
}
return nil
}
func (x *StAuthInfo) GetExtinfo() []*COMMEntry {
if x != nil {
return x.Extinfo
}
return nil
}
type StEncryption struct {
Method *uint32 `protobuf:"varint,1,opt"`
Iv *string `protobuf:"bytes,2,opt"`
}
func (x *StEncryption) GetMethod() uint32 {
if x != nil && x.Method != nil {
return *x.Method
}
return 0
}
func (x *StEncryption) GetIv() string {
if x != nil && x.Iv != nil {
return *x.Iv
}
return ""
}
type COMMEntry struct {
Key *string `protobuf:"bytes,1,opt"`
Value *string `protobuf:"bytes,2,opt"`
}
func (x *COMMEntry) GetKey() string {
if x != nil && x.Key != nil {
return *x.Key
}
return ""
}
func (x *COMMEntry) GetValue() string {
if x != nil && x.Value != nil {
return *x.Value
}
return ""
}