v2

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Identifier_name = map[int32]string{
		0: "GetMaxSeq",
		1: "SendMsg",
		2: "SignalMsg",
		3: "PullMsg",
		4: "KickOnlineMsg",
		5: "LoginOutMsg",
		6: "SetBackgroundStatus",
		7: "SetLanguage",
		8: "PushMsg",
		9: "PushAckMsg",
	}
	Identifier_value = map[string]int32{
		"GetMaxSeq":           0,
		"SendMsg":             1,
		"SignalMsg":           2,
		"PullMsg":             3,
		"KickOnlineMsg":       4,
		"LoginOutMsg":         5,
		"SetBackgroundStatus": 6,
		"SetLanguage":         7,
		"PushMsg":             8,
		"PushAckMsg":          9,
	}
)

Enum value maps for Identifier.

View Source
var (
	ResCode_name = map[int32]string{
		0: "Success",
		1: "DecodeErr",
		2: "ArgsValidateErr",
		3: "SendErr",
		4: "SendReceiverError",
	}
	ResCode_value = map[string]int32{
		"Success":           0,
		"DecodeErr":         1,
		"ArgsValidateErr":   2,
		"SendErr":           3,
		"SendReceiverError": 4,
	}
)

Enum value maps for ResCode.

View Source
var (
	SessionType_name = map[int32]string{
		0: "SingleChatType",
		1: "GroupChatType",
		2: "SuperGroupChatType",
		3: "NotificationChatType",
	}
	SessionType_value = map[string]int32{
		"SingleChatType":       0,
		"GroupChatType":        1,
		"SuperGroupChatType":   2,
		"NotificationChatType": 3,
	}
)

Enum value maps for SessionType.

View Source
var File_common_model_v2_conn_proto protoreflect.FileDescriptor
View Source
var File_common_model_v2_msg_proto protoreflect.FileDescriptor
View Source
var File_common_model_v2_node_proto protoreflect.FileDescriptor
View Source
var File_common_model_v2_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Conn

type Conn struct {

	// ws的rpc地址
	RpcAddr string `protobuf:"bytes,1,opt,name=rpcAddr,proto3" json:"rpcAddr,omitempty"`
	// 平台 IOS Android Windows OSX Web MiniWeb Linux
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	// 用户id
	UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
	// 用户token
	Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
	// 链接唯一id
	ConnID       string `protobuf:"bytes,5,opt,name=connID,proto3" json:"connID,omitempty"`
	IsBackground bool   `protobuf:"varint,6,opt,name=isBackground,proto3" json:"isBackground,omitempty"` //是否后台运行
	Language     string `protobuf:"bytes,7,opt,name=language,proto3" json:"language,omitempty"`          //客户端默认语言
	TenantId     string `protobuf:"bytes,8,opt,name=tenantId,proto3" json:"tenantId,omitempty"`          //用户租户
	// contains filtered or unexported fields
}

func (*Conn) Descriptor deprecated

func (*Conn) Descriptor() ([]byte, []int)

Deprecated: Use Conn.ProtoReflect.Descriptor instead.

func (*Conn) GetConnID

func (x *Conn) GetConnID() string

func (*Conn) GetIsBackground

func (x *Conn) GetIsBackground() bool

func (*Conn) GetLanguage

func (x *Conn) GetLanguage() string

func (*Conn) GetPlatform

func (x *Conn) GetPlatform() string

func (*Conn) GetRpcAddr

func (x *Conn) GetRpcAddr() string

func (*Conn) GetTenantId

func (x *Conn) GetTenantId() string

func (*Conn) GetToken

func (x *Conn) GetToken() string

func (*Conn) GetUserID

func (x *Conn) GetUserID() string

func (*Conn) ProtoMessage

func (*Conn) ProtoMessage()

func (*Conn) ProtoReflect

func (x *Conn) ProtoReflect() protoreflect.Message

func (*Conn) Reset

func (x *Conn) Reset()

func (*Conn) String

func (x *Conn) String() string

func (*Conn) Validate

func (m *Conn) Validate() error

Validate checks the field values on Conn with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Conn) ValidateAll

func (m *Conn) ValidateAll() error

ValidateAll checks the field values on Conn with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConnMultiError, or nil if none found.

type ConnMultiError

type ConnMultiError []error

ConnMultiError is an error wrapping multiple validation errors returned by Conn.ValidateAll() if the designated constraints aren't met.

func (ConnMultiError) AllErrors

func (m ConnMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConnMultiError) Error

func (m ConnMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConnValidationError

type ConnValidationError struct {
	// contains filtered or unexported fields
}

ConnValidationError is the validation error returned by Conn.Validate if the designated constraints aren't met.

func (ConnValidationError) Cause

func (e ConnValidationError) Cause() error

Cause function returns cause value.

func (ConnValidationError) Error

func (e ConnValidationError) Error() string

Error satisfies the builtin error interface

func (ConnValidationError) ErrorName

func (e ConnValidationError) ErrorName() string

ErrorName returns error name.

func (ConnValidationError) Field

func (e ConnValidationError) Field() string

Field function returns field value.

func (ConnValidationError) Key

func (e ConnValidationError) Key() bool

Key function returns key value.

func (ConnValidationError) Reason

func (e ConnValidationError) Reason() string

Reason function returns reason value.

type EncryptionReply

type EncryptionReply struct {
	Code   int32      `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`    //网络状态
	Msg    string     `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`       //错误信息
	Reason string     `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` //错误原因
	Data   *SingedMsg `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`     //加密数据
	// contains filtered or unexported fields
}

加密返回

func (*EncryptionReply) Descriptor deprecated

func (*EncryptionReply) Descriptor() ([]byte, []int)

Deprecated: Use EncryptionReply.ProtoReflect.Descriptor instead.

func (*EncryptionReply) GetCode

func (x *EncryptionReply) GetCode() int32

func (*EncryptionReply) GetData

func (x *EncryptionReply) GetData() *SingedMsg

func (*EncryptionReply) GetMsg

func (x *EncryptionReply) GetMsg() string

func (*EncryptionReply) GetReason

func (x *EncryptionReply) GetReason() string

func (*EncryptionReply) ProtoMessage

func (*EncryptionReply) ProtoMessage()

func (*EncryptionReply) ProtoReflect

func (x *EncryptionReply) ProtoReflect() protoreflect.Message

func (*EncryptionReply) Reset

func (x *EncryptionReply) Reset()

func (*EncryptionReply) String

func (x *EncryptionReply) String() string

func (*EncryptionReply) Validate

func (m *EncryptionReply) Validate() error

Validate checks the field values on EncryptionReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EncryptionReply) ValidateAll

func (m *EncryptionReply) ValidateAll() error

ValidateAll checks the field values on EncryptionReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EncryptionReplyMultiError, or nil if none found.

type EncryptionReplyMultiError

type EncryptionReplyMultiError []error

EncryptionReplyMultiError is an error wrapping multiple validation errors returned by EncryptionReply.ValidateAll() if the designated constraints aren't met.

func (EncryptionReplyMultiError) AllErrors

func (m EncryptionReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EncryptionReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type EncryptionReplyValidationError

type EncryptionReplyValidationError struct {
	// contains filtered or unexported fields
}

EncryptionReplyValidationError is the validation error returned by EncryptionReply.Validate if the designated constraints aren't met.

func (EncryptionReplyValidationError) Cause

Cause function returns cause value.

func (EncryptionReplyValidationError) Error

Error satisfies the builtin error interface

func (EncryptionReplyValidationError) ErrorName

func (e EncryptionReplyValidationError) ErrorName() string

ErrorName returns error name.

func (EncryptionReplyValidationError) Field

Field function returns field value.

func (EncryptionReplyValidationError) Key

Key function returns key value.

func (EncryptionReplyValidationError) Reason

Reason function returns reason value.

type EscalationData

type EscalationData struct {
	NodeId string     `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点id
	Data   *SingedMsg `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`     //上报数据
	// contains filtered or unexported fields
}

上报数据

func (*EscalationData) Descriptor deprecated

func (*EscalationData) Descriptor() ([]byte, []int)

Deprecated: Use EscalationData.ProtoReflect.Descriptor instead.

func (*EscalationData) GetData

func (x *EscalationData) GetData() *SingedMsg

func (*EscalationData) GetNodeId

func (x *EscalationData) GetNodeId() string

func (*EscalationData) ProtoMessage

func (*EscalationData) ProtoMessage()

func (*EscalationData) ProtoReflect

func (x *EscalationData) ProtoReflect() protoreflect.Message

func (*EscalationData) Reset

func (x *EscalationData) Reset()

func (*EscalationData) String

func (x *EscalationData) String() string

func (*EscalationData) Validate

func (m *EscalationData) Validate() error

Validate checks the field values on EscalationData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EscalationData) ValidateAll

func (m *EscalationData) ValidateAll() error

ValidateAll checks the field values on EscalationData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EscalationDataMultiError, or nil if none found.

type EscalationDataMultiError

type EscalationDataMultiError []error

EscalationDataMultiError is an error wrapping multiple validation errors returned by EscalationData.ValidateAll() if the designated constraints aren't met.

func (EscalationDataMultiError) AllErrors

func (m EscalationDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EscalationDataMultiError) Error

func (m EscalationDataMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EscalationDataValidationError

type EscalationDataValidationError struct {
	// contains filtered or unexported fields
}

EscalationDataValidationError is the validation error returned by EscalationData.Validate if the designated constraints aren't met.

func (EscalationDataValidationError) Cause

Cause function returns cause value.

func (EscalationDataValidationError) Error

Error satisfies the builtin error interface

func (EscalationDataValidationError) ErrorName

func (e EscalationDataValidationError) ErrorName() string

ErrorName returns error name.

func (EscalationDataValidationError) Field

Field function returns field value.

func (EscalationDataValidationError) Key

Key function returns key value.

func (EscalationDataValidationError) Reason

Reason function returns reason value.

type GetMaxSeqMsg

type GetMaxSeqMsg struct {
	SessionType int32  `protobuf:"varint,1,opt,name=sessionType,proto3" json:"sessionType,omitempty"` //会话类型,个人和群聊
	Uid         string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`                  //用户id或群id
	// contains filtered or unexported fields
}

获取最大seq的消息结构

func (*GetMaxSeqMsg) Descriptor deprecated

func (*GetMaxSeqMsg) Descriptor() ([]byte, []int)

Deprecated: Use GetMaxSeqMsg.ProtoReflect.Descriptor instead.

func (*GetMaxSeqMsg) GetSessionType

func (x *GetMaxSeqMsg) GetSessionType() int32

func (*GetMaxSeqMsg) GetUid

func (x *GetMaxSeqMsg) GetUid() string

func (*GetMaxSeqMsg) ProtoMessage

func (*GetMaxSeqMsg) ProtoMessage()

func (*GetMaxSeqMsg) ProtoReflect

func (x *GetMaxSeqMsg) ProtoReflect() protoreflect.Message

func (*GetMaxSeqMsg) Reset

func (x *GetMaxSeqMsg) Reset()

func (*GetMaxSeqMsg) String

func (x *GetMaxSeqMsg) String() string

func (*GetMaxSeqMsg) Validate

func (m *GetMaxSeqMsg) Validate() error

Validate checks the field values on GetMaxSeqMsg with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetMaxSeqMsg) ValidateAll

func (m *GetMaxSeqMsg) ValidateAll() error

ValidateAll checks the field values on GetMaxSeqMsg with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMaxSeqMsgMultiError, or nil if none found.

type GetMaxSeqMsgMultiError

type GetMaxSeqMsgMultiError []error

GetMaxSeqMsgMultiError is an error wrapping multiple validation errors returned by GetMaxSeqMsg.ValidateAll() if the designated constraints aren't met.

func (GetMaxSeqMsgMultiError) AllErrors

func (m GetMaxSeqMsgMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMaxSeqMsgMultiError) Error

func (m GetMaxSeqMsgMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetMaxSeqMsgValidationError

type GetMaxSeqMsgValidationError struct {
	// contains filtered or unexported fields
}

GetMaxSeqMsgValidationError is the validation error returned by GetMaxSeqMsg.Validate if the designated constraints aren't met.

func (GetMaxSeqMsgValidationError) Cause

Cause function returns cause value.

func (GetMaxSeqMsgValidationError) Error

Error satisfies the builtin error interface

func (GetMaxSeqMsgValidationError) ErrorName

func (e GetMaxSeqMsgValidationError) ErrorName() string

ErrorName returns error name.

func (GetMaxSeqMsgValidationError) Field

Field function returns field value.

func (GetMaxSeqMsgValidationError) Key

Key function returns key value.

func (GetMaxSeqMsgValidationError) Reason

Reason function returns reason value.

type Identifier

type Identifier int32

消息标识符

const (
	Identifier_GetMaxSeq           Identifier = 0 //获取seq
	Identifier_SendMsg             Identifier = 1 //发送消息
	Identifier_SignalMsg           Identifier = 2 //信令消息
	Identifier_PullMsg             Identifier = 3 //客户端拉取服务端消息
	Identifier_KickOnlineMsg       Identifier = 4 //踢出用户
	Identifier_LoginOutMsg         Identifier = 5 //用户退出消息
	Identifier_SetBackgroundStatus Identifier = 6 //用户后台运行状态设置
	Identifier_SetLanguage         Identifier = 7 //设置用户当前语言
	Identifier_PushMsg             Identifier = 8 //服务端向客户端推送消息
	Identifier_PushAckMsg          Identifier = 9 //服务端向客户端推送ack消息
)

func (Identifier) Descriptor

func (Identifier) Descriptor() protoreflect.EnumDescriptor

func (Identifier) Enum

func (x Identifier) Enum() *Identifier

func (Identifier) EnumDescriptor deprecated

func (Identifier) EnumDescriptor() ([]byte, []int)

Deprecated: Use Identifier.Descriptor instead.

func (Identifier) Number

func (x Identifier) Number() protoreflect.EnumNumber

func (Identifier) String

func (x Identifier) String() string

func (Identifier) Type

type MessageSaveToMq

type MessageSaveToMq struct {
	Messages []*MessageTransfer `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

存储发送消息到mq

func (*MessageSaveToMq) Descriptor deprecated

func (*MessageSaveToMq) Descriptor() ([]byte, []int)

Deprecated: Use MessageSaveToMq.ProtoReflect.Descriptor instead.

func (*MessageSaveToMq) GetMessages

func (x *MessageSaveToMq) GetMessages() []*MessageTransfer

func (*MessageSaveToMq) ProtoMessage

func (*MessageSaveToMq) ProtoMessage()

func (*MessageSaveToMq) ProtoReflect

func (x *MessageSaveToMq) ProtoReflect() protoreflect.Message

func (*MessageSaveToMq) Reset

func (x *MessageSaveToMq) Reset()

func (*MessageSaveToMq) String

func (x *MessageSaveToMq) String() string

func (*MessageSaveToMq) Validate

func (m *MessageSaveToMq) Validate() error

Validate checks the field values on MessageSaveToMq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MessageSaveToMq) ValidateAll

func (m *MessageSaveToMq) ValidateAll() error

ValidateAll checks the field values on MessageSaveToMq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageSaveToMqMultiError, or nil if none found.

type MessageSaveToMqMultiError

type MessageSaveToMqMultiError []error

MessageSaveToMqMultiError is an error wrapping multiple validation errors returned by MessageSaveToMq.ValidateAll() if the designated constraints aren't met.

func (MessageSaveToMqMultiError) AllErrors

func (m MessageSaveToMqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageSaveToMqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageSaveToMqValidationError

type MessageSaveToMqValidationError struct {
	// contains filtered or unexported fields
}

MessageSaveToMqValidationError is the validation error returned by MessageSaveToMq.Validate if the designated constraints aren't met.

func (MessageSaveToMqValidationError) Cause

Cause function returns cause value.

func (MessageSaveToMqValidationError) Error

Error satisfies the builtin error interface

func (MessageSaveToMqValidationError) ErrorName

func (e MessageSaveToMqValidationError) ErrorName() string

ErrorName returns error name.

func (MessageSaveToMqValidationError) Field

Field function returns field value.

func (MessageSaveToMqValidationError) Key

Key function returns key value.

func (MessageSaveToMqValidationError) Reason

Reason function returns reason value.

type MessageTransfer

type MessageTransfer struct {
	UserId   string   `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`     //用户ID
	TenantId string   `protobuf:"bytes,2,opt,name=tenantId,proto3" json:"tenantId,omitempty"` //租户的id
	MsgDate  *MsgData `protobuf:"bytes,3,opt,name=msgDate,proto3" json:"msgDate,omitempty"`   //消息内容
	// contains filtered or unexported fields
}

内部消息传输对象

func (*MessageTransfer) Descriptor deprecated

func (*MessageTransfer) Descriptor() ([]byte, []int)

Deprecated: Use MessageTransfer.ProtoReflect.Descriptor instead.

func (*MessageTransfer) GetMsgDate

func (x *MessageTransfer) GetMsgDate() *MsgData

func (*MessageTransfer) GetTenantId

func (x *MessageTransfer) GetTenantId() string

func (*MessageTransfer) GetUserId

func (x *MessageTransfer) GetUserId() string

func (*MessageTransfer) ProtoMessage

func (*MessageTransfer) ProtoMessage()

func (*MessageTransfer) ProtoReflect

func (x *MessageTransfer) ProtoReflect() protoreflect.Message

func (*MessageTransfer) Reset

func (x *MessageTransfer) Reset()

func (*MessageTransfer) String

func (x *MessageTransfer) String() string

func (*MessageTransfer) Validate

func (m *MessageTransfer) Validate() error

Validate checks the field values on MessageTransfer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MessageTransfer) ValidateAll

func (m *MessageTransfer) ValidateAll() error

ValidateAll checks the field values on MessageTransfer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageTransferMultiError, or nil if none found.

type MessageTransferMultiError

type MessageTransferMultiError []error

MessageTransferMultiError is an error wrapping multiple validation errors returned by MessageTransfer.ValidateAll() if the designated constraints aren't met.

func (MessageTransferMultiError) AllErrors

func (m MessageTransferMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageTransferMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageTransferValidationError

type MessageTransferValidationError struct {
	// contains filtered or unexported fields
}

MessageTransferValidationError is the validation error returned by MessageTransfer.Validate if the designated constraints aren't met.

func (MessageTransferValidationError) Cause

Cause function returns cause value.

func (MessageTransferValidationError) Error

Error satisfies the builtin error interface

func (MessageTransferValidationError) ErrorName

func (e MessageTransferValidationError) ErrorName() string

ErrorName returns error name.

func (MessageTransferValidationError) Field

Field function returns field value.

func (MessageTransferValidationError) Key

Key function returns key value.

func (MessageTransferValidationError) Reason

Reason function returns reason value.

type MsgData

type MsgData struct {
	SendID         string          `protobuf:"bytes,1,opt,name=sendID,proto3" json:"sendID,omitempty"`                 //发送者
	ReceiveID      string          `protobuf:"bytes,2,opt,name=receiveID,proto3" json:"receiveID,omitempty"`           //接收者
	GroupID        string          `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID,omitempty"`               //群id
	ClientMsgID    string          `protobuf:"bytes,4,opt,name=clientMsgID,proto3" json:"clientMsgID,omitempty"`       //客户端消息id
	ServerMsgID    string          `protobuf:"bytes,5,opt,name=serverMsgID,proto3" json:"serverMsgID,omitempty"`       //服务端消息id
	SenderPlatform string          `protobuf:"bytes,6,opt,name=senderPlatform,proto3" json:"senderPlatform,omitempty"` //发送平台
	SenderNickname string          `protobuf:"bytes,7,opt,name=senderNickname,proto3" json:"senderNickname,omitempty"` //发送者昵称
	SenderFaceURL  string          `protobuf:"bytes,8,opt,name=senderFaceURL,proto3" json:"senderFaceURL,omitempty"`   //发送者头像
	SessionType    int32           `protobuf:"varint,9,opt,name=sessionType,proto3" json:"sessionType,omitempty"`      //会话类型
	MsgFrom        int32           `protobuf:"varint,10,opt,name=msgFrom,proto3" json:"msgFrom,omitempty"`             //消息类型。0用户,1系统
	ContentType    int32           `protobuf:"varint,11,opt,name=contentType,proto3" json:"contentType,omitempty"`     //内容类型
	Content        []byte          `protobuf:"bytes,12,opt,name=content,proto3" json:"content,omitempty"`              //消息内容
	Seq            int64           `protobuf:"varint,14,opt,name=seq,proto3" json:"seq,omitempty"`                     //消息的seq
	SendTime       int64           `protobuf:"varint,15,opt,name=sendTime,proto3" json:"sendTime,omitempty"`           //消息发送时间
	CreateTime     int64           `protobuf:"varint,16,opt,name=createTime,proto3" json:"createTime,omitempty"`       //创建时间
	Status         int32           `protobuf:"varint,17,opt,name=status,proto3" json:"status,omitempty"`               //状态
	Options        map[string]bool ``                                                                                  //配置项
	/* 157-byte string literal not displayed */
	OfflinePushInfo      *OfflinePushInfo `protobuf:"bytes,19,opt,name=offlinePushInfo,proto3" json:"offlinePushInfo,omitempty"`            //推送详情
	AtUserIDList         []string         `protobuf:"bytes,20,rep,name=atUserIDList,proto3" json:"atUserIDList,omitempty"`                  // at的人
	MsgDataList          []byte           `protobuf:"bytes,21,opt,name=msgDataList,proto3" json:"msgDataList,omitempty"`                    //消息详细新
	AttachedInfo         string           `protobuf:"bytes,22,opt,name=attachedInfo,proto3" json:"attachedInfo,omitempty"`                  //附加信息
	Ex                   string           `protobuf:"bytes,23,opt,name=ex,proto3" json:"ex,omitempty"`                                      //扩展字段
	IsReact              bool             `protobuf:"varint,40,opt,name=isReact,proto3" json:"isReact,omitempty"`                           //是否已读
	IsExternalExtensions bool             `protobuf:"varint,41,opt,name=isExternalExtensions,proto3" json:"isExternalExtensions,omitempty"` //是否外部扩展
	MsgFirstModifyTime   int64            `protobuf:"varint,42,opt,name=msgFirstModifyTime,proto3" json:"msgFirstModifyTime,omitempty"`     //首次更新时间
	// contains filtered or unexported fields
}

消息结构

func (*MsgData) Descriptor deprecated

func (*MsgData) Descriptor() ([]byte, []int)

Deprecated: Use MsgData.ProtoReflect.Descriptor instead.

func (*MsgData) GetAtUserIDList

func (x *MsgData) GetAtUserIDList() []string

func (*MsgData) GetAttachedInfo

func (x *MsgData) GetAttachedInfo() string

func (*MsgData) GetClientMsgID

func (x *MsgData) GetClientMsgID() string

func (*MsgData) GetContent

func (x *MsgData) GetContent() []byte

func (*MsgData) GetContentType

func (x *MsgData) GetContentType() int32

func (*MsgData) GetCreateTime

func (x *MsgData) GetCreateTime() int64

func (*MsgData) GetEx

func (x *MsgData) GetEx() string

func (*MsgData) GetGroupID

func (x *MsgData) GetGroupID() string

func (*MsgData) GetIsExternalExtensions

func (x *MsgData) GetIsExternalExtensions() bool

func (*MsgData) GetIsReact

func (x *MsgData) GetIsReact() bool

func (*MsgData) GetMsgDataList

func (x *MsgData) GetMsgDataList() []byte

func (*MsgData) GetMsgFirstModifyTime

func (x *MsgData) GetMsgFirstModifyTime() int64

func (*MsgData) GetMsgFrom

func (x *MsgData) GetMsgFrom() int32

func (*MsgData) GetOfflinePushInfo

func (x *MsgData) GetOfflinePushInfo() *OfflinePushInfo

func (*MsgData) GetOptions

func (x *MsgData) GetOptions() map[string]bool

func (*MsgData) GetReceiveID

func (x *MsgData) GetReceiveID() string

func (*MsgData) GetSendID

func (x *MsgData) GetSendID() string

func (*MsgData) GetSendTime

func (x *MsgData) GetSendTime() int64

func (*MsgData) GetSenderFaceURL

func (x *MsgData) GetSenderFaceURL() string

func (*MsgData) GetSenderNickname

func (x *MsgData) GetSenderNickname() string

func (*MsgData) GetSenderPlatform

func (x *MsgData) GetSenderPlatform() string

func (*MsgData) GetSeq

func (x *MsgData) GetSeq() int64

func (*MsgData) GetServerMsgID

func (x *MsgData) GetServerMsgID() string

func (*MsgData) GetSessionType

func (x *MsgData) GetSessionType() int32

func (*MsgData) GetStatus

func (x *MsgData) GetStatus() int32

func (*MsgData) ProtoMessage

func (*MsgData) ProtoMessage()

func (*MsgData) ProtoReflect

func (x *MsgData) ProtoReflect() protoreflect.Message

func (*MsgData) Reset

func (x *MsgData) Reset()

func (*MsgData) String

func (x *MsgData) String() string

func (*MsgData) Validate

func (m *MsgData) Validate() error

Validate checks the field values on MsgData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MsgData) ValidateAll

func (m *MsgData) ValidateAll() error

ValidateAll checks the field values on MsgData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MsgDataMultiError, or nil if none found.

type MsgDataMultiError

type MsgDataMultiError []error

MsgDataMultiError is an error wrapping multiple validation errors returned by MsgData.ValidateAll() if the designated constraints aren't met.

func (MsgDataMultiError) AllErrors

func (m MsgDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MsgDataMultiError) Error

func (m MsgDataMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MsgDataValidationError

type MsgDataValidationError struct {
	// contains filtered or unexported fields
}

MsgDataValidationError is the validation error returned by MsgData.Validate if the designated constraints aren't met.

func (MsgDataValidationError) Cause

func (e MsgDataValidationError) Cause() error

Cause function returns cause value.

func (MsgDataValidationError) Error

func (e MsgDataValidationError) Error() string

Error satisfies the builtin error interface

func (MsgDataValidationError) ErrorName

func (e MsgDataValidationError) ErrorName() string

ErrorName returns error name.

func (MsgDataValidationError) Field

func (e MsgDataValidationError) Field() string

Field function returns field value.

func (MsgDataValidationError) Key

func (e MsgDataValidationError) Key() bool

Key function returns key value.

func (MsgDataValidationError) Reason

func (e MsgDataValidationError) Reason() string

Reason function returns reason value.

type MsgReply

type MsgReply struct {
	Identifier  Identifier `protobuf:"varint,1,opt,name=identifier,proto3,enum=api.common.model.v2.Identifier" json:"identifier,omitempty"` //消息标识服
	TrackID     string     `protobuf:"bytes,2,opt,name=trackID,proto3" json:"trackID,omitempty"`                                            //链路id
	MsgIncr     string     `protobuf:"bytes,3,opt,name=msgIncr,proto3" json:"msgIncr,omitempty"`                                            //消息增量
	Code        ResCode    `protobuf:"varint,4,opt,name=code,proto3,enum=api.common.model.v2.ResCode" json:"code,omitempty"`                //业务编码
	Msg         string     `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"`                                                    // 提示消息
	Reason      string     `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`                                              //原因
	Data        []byte     `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`                                                  //消息内容
	ServerMsgId string     `protobuf:"bytes,8,opt,name=serverMsgId,proto3" json:"serverMsgId,omitempty"`                                    //服务端消息id
	Seq         int64      `protobuf:"varint,9,opt,name=seq,proto3" json:"seq,omitempty"`                                                   //用户消息的
	// contains filtered or unexported fields
}

发送消息响应

func (*MsgReply) Descriptor deprecated

func (*MsgReply) Descriptor() ([]byte, []int)

Deprecated: Use MsgReply.ProtoReflect.Descriptor instead.

func (*MsgReply) GetCode

func (x *MsgReply) GetCode() ResCode

func (*MsgReply) GetData

func (x *MsgReply) GetData() []byte

func (*MsgReply) GetIdentifier

func (x *MsgReply) GetIdentifier() Identifier

func (*MsgReply) GetMsg

func (x *MsgReply) GetMsg() string

func (*MsgReply) GetMsgIncr

func (x *MsgReply) GetMsgIncr() string

func (*MsgReply) GetReason

func (x *MsgReply) GetReason() string

func (*MsgReply) GetSeq

func (x *MsgReply) GetSeq() int64

func (*MsgReply) GetServerMsgId

func (x *MsgReply) GetServerMsgId() string

func (*MsgReply) GetTrackID

func (x *MsgReply) GetTrackID() string

func (*MsgReply) ProtoMessage

func (*MsgReply) ProtoMessage()

func (*MsgReply) ProtoReflect

func (x *MsgReply) ProtoReflect() protoreflect.Message

func (*MsgReply) Reset

func (x *MsgReply) Reset()

func (*MsgReply) String

func (x *MsgReply) String() string

func (*MsgReply) Validate

func (m *MsgReply) Validate() error

Validate checks the field values on MsgReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MsgReply) ValidateAll

func (m *MsgReply) ValidateAll() error

ValidateAll checks the field values on MsgReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MsgReplyMultiError, or nil if none found.

type MsgReplyMultiError

type MsgReplyMultiError []error

MsgReplyMultiError is an error wrapping multiple validation errors returned by MsgReply.ValidateAll() if the designated constraints aren't met.

func (MsgReplyMultiError) AllErrors

func (m MsgReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MsgReplyMultiError) Error

func (m MsgReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MsgReplyValidationError

type MsgReplyValidationError struct {
	// contains filtered or unexported fields
}

MsgReplyValidationError is the validation error returned by MsgReply.Validate if the designated constraints aren't met.

func (MsgReplyValidationError) Cause

func (e MsgReplyValidationError) Cause() error

Cause function returns cause value.

func (MsgReplyValidationError) Error

func (e MsgReplyValidationError) Error() string

Error satisfies the builtin error interface

func (MsgReplyValidationError) ErrorName

func (e MsgReplyValidationError) ErrorName() string

ErrorName returns error name.

func (MsgReplyValidationError) Field

func (e MsgReplyValidationError) Field() string

Field function returns field value.

func (MsgReplyValidationError) Key

func (e MsgReplyValidationError) Key() bool

Key function returns key value.

func (MsgReplyValidationError) Reason

func (e MsgReplyValidationError) Reason() string

Reason function returns reason value.

type MsgReq

type MsgReq struct {
	Identifier Identifier `protobuf:"varint,1,opt,name=identifier,proto3,enum=api.common.model.v2.Identifier" json:"identifier,omitempty"` //消息标识服
	Token      string     `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`                                                //token
	SendID     string     `protobuf:"bytes,3,opt,name=sendID,proto3" json:"sendID,omitempty"`                                              // 发送者id
	TrackID    string     `protobuf:"bytes,4,opt,name=trackID,proto3" json:"trackID,omitempty"`                                            //链路id
	MsgIncr    string     `protobuf:"bytes,5,opt,name=msgIncr,proto3" json:"msgIncr,omitempty"`                                            //ack标记
	Data       []byte     `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`                                                  //消息内容
	// contains filtered or unexported fields
}

发送消息结构

func (*MsgReq) Descriptor deprecated

func (*MsgReq) Descriptor() ([]byte, []int)

Deprecated: Use MsgReq.ProtoReflect.Descriptor instead.

func (*MsgReq) GetData

func (x *MsgReq) GetData() []byte

func (*MsgReq) GetIdentifier

func (x *MsgReq) GetIdentifier() Identifier

func (*MsgReq) GetMsgIncr

func (x *MsgReq) GetMsgIncr() string

func (*MsgReq) GetSendID

func (x *MsgReq) GetSendID() string

func (*MsgReq) GetToken

func (x *MsgReq) GetToken() string

func (*MsgReq) GetTrackID

func (x *MsgReq) GetTrackID() string

func (*MsgReq) ProtoMessage

func (*MsgReq) ProtoMessage()

func (*MsgReq) ProtoReflect

func (x *MsgReq) ProtoReflect() protoreflect.Message

func (*MsgReq) Reset

func (x *MsgReq) Reset()

func (*MsgReq) String

func (x *MsgReq) String() string

func (*MsgReq) Validate

func (m *MsgReq) Validate() error

Validate checks the field values on MsgReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MsgReq) ValidateAll

func (m *MsgReq) ValidateAll() error

ValidateAll checks the field values on MsgReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MsgReqMultiError, or nil if none found.

type MsgReqMultiError

type MsgReqMultiError []error

MsgReqMultiError is an error wrapping multiple validation errors returned by MsgReq.ValidateAll() if the designated constraints aren't met.

func (MsgReqMultiError) AllErrors

func (m MsgReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MsgReqMultiError) Error

func (m MsgReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MsgReqValidationError

type MsgReqValidationError struct {
	// contains filtered or unexported fields
}

MsgReqValidationError is the validation error returned by MsgReq.Validate if the designated constraints aren't met.

func (MsgReqValidationError) Cause

func (e MsgReqValidationError) Cause() error

Cause function returns cause value.

func (MsgReqValidationError) Error

func (e MsgReqValidationError) Error() string

Error satisfies the builtin error interface

func (MsgReqValidationError) ErrorName

func (e MsgReqValidationError) ErrorName() string

ErrorName returns error name.

func (MsgReqValidationError) Field

func (e MsgReqValidationError) Field() string

Field function returns field value.

func (MsgReqValidationError) Key

func (e MsgReqValidationError) Key() bool

Key function returns key value.

func (MsgReqValidationError) Reason

func (e MsgReqValidationError) Reason() string

Reason function returns reason value.

type NodeBase

type NodeBase struct {
	NodeId        string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`                // profile id 和 userId 等价
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                    // 名称
	Code          string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`                    // 节点邀请码
	StartTime     int64  `protobuf:"varint,4,opt,name=startTime,proto3" json:"startTime,omitempty"`         // 开始时间
	EndTime       int64  `protobuf:"varint,5,opt,name=endTime,proto3" json:"endTime,omitempty"`             // 结束时间
	MasterApi     string `protobuf:"bytes,6,opt,name=masterApi,proto3" json:"masterApi,omitempty"`          // 管理节点地址
	SlaveApi      string `protobuf:"bytes,7,opt,name=slaveApi,proto3" json:"slaveApi,omitempty"`            // 应用节点接口地址
	ManageApi     string `protobuf:"bytes,8,opt,name=manageApi,proto3" json:"manageApi,omitempty"`          // 管理节点地址
	ImApiUrl      string `protobuf:"bytes,9,opt,name=imApiUrl,proto3" json:"imApiUrl,omitempty"`            // 客户imapi域名地址,兼容2.0
	ImWsUrl       string `protobuf:"bytes,10,opt,name=imWsUrl,proto3" json:"imWsUrl,omitempty"`             // im ws api 地址
	Version       string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"`             // 版本
	AvAppid       string `protobuf:"bytes,12,opt,name=avAppid,proto3" json:"avAppid,omitempty"`             // 腾讯音视频app id
	AvSecret      string `protobuf:"bytes,13,opt,name=avSecret,proto3" json:"avSecret,omitempty"`           // 腾讯音视频密钥
	NodeType      int32  `protobuf:"varint,15,opt,name=nodeType,proto3" json:"nodeType,omitempty"`          //节点类型 0 独立节点 1 代理节点
	PromotionCode string `protobuf:"bytes,16,opt,name=promotionCode,proto3" json:"promotionCode,omitempty"` // 代理者推广码
	CreatedAt     int64  `protobuf:"varint,17,opt,name=createdAt,proto3" json:"createdAt,omitempty"`        // 创建时间
	UpdatedAt     int64  `protobuf:"varint,18,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`        // 更新时间
	DeletedAt     int64  `protobuf:"varint,19,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`        // 删除时间
	Status        int32  `protobuf:"varint,20,opt,name=status,proto3" json:"status,omitempty"`              // 1:启用 2:停用 3: 时间限制
	Sort          int32  `protobuf:"varint,21,opt,name=sort,proto3" json:"sort,omitempty"`                  //排序
	MasterNodeId  string `protobuf:"bytes,22,opt,name=masterNodeId,proto3" json:"masterNodeId,omitempty"`   // 主几点id// 当为租户节点时
	// contains filtered or unexported fields
}

节点基本信息

func (*NodeBase) Descriptor deprecated

func (*NodeBase) Descriptor() ([]byte, []int)

Deprecated: Use NodeBase.ProtoReflect.Descriptor instead.

func (*NodeBase) GetAvAppid

func (x *NodeBase) GetAvAppid() string

func (*NodeBase) GetAvSecret

func (x *NodeBase) GetAvSecret() string

func (*NodeBase) GetCode

func (x *NodeBase) GetCode() string

func (*NodeBase) GetCreatedAt

func (x *NodeBase) GetCreatedAt() int64

func (*NodeBase) GetDeletedAt

func (x *NodeBase) GetDeletedAt() int64

func (*NodeBase) GetEndTime

func (x *NodeBase) GetEndTime() int64

func (*NodeBase) GetImApiUrl

func (x *NodeBase) GetImApiUrl() string

func (*NodeBase) GetImWsUrl

func (x *NodeBase) GetImWsUrl() string
func (x *NodeBase) GetLogo() string

func (*NodeBase) GetManageApi

func (x *NodeBase) GetManageApi() string

func (*NodeBase) GetMasterApi

func (x *NodeBase) GetMasterApi() string

func (*NodeBase) GetMasterNodeId

func (x *NodeBase) GetMasterNodeId() string

func (*NodeBase) GetName

func (x *NodeBase) GetName() string

func (*NodeBase) GetNodeId

func (x *NodeBase) GetNodeId() string

func (*NodeBase) GetNodeType

func (x *NodeBase) GetNodeType() int32

func (*NodeBase) GetPromotionCode

func (x *NodeBase) GetPromotionCode() string

func (*NodeBase) GetSlaveApi

func (x *NodeBase) GetSlaveApi() string

func (*NodeBase) GetSort

func (x *NodeBase) GetSort() int32

func (*NodeBase) GetStartTime

func (x *NodeBase) GetStartTime() int64

func (*NodeBase) GetStatus

func (x *NodeBase) GetStatus() int32

func (*NodeBase) GetUpdatedAt

func (x *NodeBase) GetUpdatedAt() int64

func (*NodeBase) GetVersion

func (x *NodeBase) GetVersion() string

func (*NodeBase) ProtoMessage

func (*NodeBase) ProtoMessage()

func (*NodeBase) ProtoReflect

func (x *NodeBase) ProtoReflect() protoreflect.Message

func (*NodeBase) Reset

func (x *NodeBase) Reset()

func (*NodeBase) String

func (x *NodeBase) String() string

func (*NodeBase) Validate

func (m *NodeBase) Validate() error

Validate checks the field values on NodeBase with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NodeBase) ValidateAll

func (m *NodeBase) ValidateAll() error

ValidateAll checks the field values on NodeBase with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeBaseMultiError, or nil if none found.

type NodeBaseMultiError

type NodeBaseMultiError []error

NodeBaseMultiError is an error wrapping multiple validation errors returned by NodeBase.ValidateAll() if the designated constraints aren't met.

func (NodeBaseMultiError) AllErrors

func (m NodeBaseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeBaseMultiError) Error

func (m NodeBaseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NodeBaseValidationError

type NodeBaseValidationError struct {
	// contains filtered or unexported fields
}

NodeBaseValidationError is the validation error returned by NodeBase.Validate if the designated constraints aren't met.

func (NodeBaseValidationError) Cause

func (e NodeBaseValidationError) Cause() error

Cause function returns cause value.

func (NodeBaseValidationError) Error

func (e NodeBaseValidationError) Error() string

Error satisfies the builtin error interface

func (NodeBaseValidationError) ErrorName

func (e NodeBaseValidationError) ErrorName() string

ErrorName returns error name.

func (NodeBaseValidationError) Field

func (e NodeBaseValidationError) Field() string

Field function returns field value.

func (NodeBaseValidationError) Key

func (e NodeBaseValidationError) Key() bool

Key function returns key value.

func (NodeBaseValidationError) Reason

func (e NodeBaseValidationError) Reason() string

Reason function returns reason value.

type NodeMasterSyncInfo

type NodeMasterSyncInfo struct {
	NodeId       string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`             // 节点id
	Enable       string `protobuf:"bytes,2,opt,name=enable,proto3" json:"enable,omitempty"`             // 是否可用0 可用 1 不可用
	MasterApi    string `protobuf:"bytes,3,opt,name=masterApi,proto3" json:"masterApi,omitempty"`       // 主节点地址
	MasterPubKey string `protobuf:"bytes,4,opt,name=masterPubKey,proto3" json:"masterPubKey,omitempty"` // 主节点公钥匙
	Functions    string `protobuf:"bytes,5,opt,name=functions,proto3" json:"functions,omitempty"`       // 节点功能
	NodePriKey   string `protobuf:"bytes,6,opt,name=nodePriKey,proto3" json:"nodePriKey,omitempty"`     // 应用节点接口地址
	// contains filtered or unexported fields
}

主节点信息同步

func (*NodeMasterSyncInfo) Descriptor deprecated

func (*NodeMasterSyncInfo) Descriptor() ([]byte, []int)

Deprecated: Use NodeMasterSyncInfo.ProtoReflect.Descriptor instead.

func (*NodeMasterSyncInfo) GetEnable

func (x *NodeMasterSyncInfo) GetEnable() string

func (*NodeMasterSyncInfo) GetFunctions

func (x *NodeMasterSyncInfo) GetFunctions() string

func (*NodeMasterSyncInfo) GetMasterApi

func (x *NodeMasterSyncInfo) GetMasterApi() string

func (*NodeMasterSyncInfo) GetMasterPubKey

func (x *NodeMasterSyncInfo) GetMasterPubKey() string

func (*NodeMasterSyncInfo) GetNodeId

func (x *NodeMasterSyncInfo) GetNodeId() string

func (*NodeMasterSyncInfo) GetNodePriKey

func (x *NodeMasterSyncInfo) GetNodePriKey() string

func (*NodeMasterSyncInfo) ProtoMessage

func (*NodeMasterSyncInfo) ProtoMessage()

func (*NodeMasterSyncInfo) ProtoReflect

func (x *NodeMasterSyncInfo) ProtoReflect() protoreflect.Message

func (*NodeMasterSyncInfo) Reset

func (x *NodeMasterSyncInfo) Reset()

func (*NodeMasterSyncInfo) String

func (x *NodeMasterSyncInfo) String() string

func (*NodeMasterSyncInfo) Validate

func (m *NodeMasterSyncInfo) Validate() error

Validate checks the field values on NodeMasterSyncInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NodeMasterSyncInfo) ValidateAll

func (m *NodeMasterSyncInfo) ValidateAll() error

ValidateAll checks the field values on NodeMasterSyncInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeMasterSyncInfoMultiError, or nil if none found.

type NodeMasterSyncInfoMultiError

type NodeMasterSyncInfoMultiError []error

NodeMasterSyncInfoMultiError is an error wrapping multiple validation errors returned by NodeMasterSyncInfo.ValidateAll() if the designated constraints aren't met.

func (NodeMasterSyncInfoMultiError) AllErrors

func (m NodeMasterSyncInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeMasterSyncInfoMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NodeMasterSyncInfoReq

type NodeMasterSyncInfoReq struct {
	NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点id
	// contains filtered or unexported fields
}

获取节点信息同步请求

func (*NodeMasterSyncInfoReq) Descriptor deprecated

func (*NodeMasterSyncInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use NodeMasterSyncInfoReq.ProtoReflect.Descriptor instead.

func (*NodeMasterSyncInfoReq) GetNodeId

func (x *NodeMasterSyncInfoReq) GetNodeId() string

func (*NodeMasterSyncInfoReq) ProtoMessage

func (*NodeMasterSyncInfoReq) ProtoMessage()

func (*NodeMasterSyncInfoReq) ProtoReflect

func (x *NodeMasterSyncInfoReq) ProtoReflect() protoreflect.Message

func (*NodeMasterSyncInfoReq) Reset

func (x *NodeMasterSyncInfoReq) Reset()

func (*NodeMasterSyncInfoReq) String

func (x *NodeMasterSyncInfoReq) String() string

func (*NodeMasterSyncInfoReq) Validate

func (m *NodeMasterSyncInfoReq) Validate() error

Validate checks the field values on NodeMasterSyncInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NodeMasterSyncInfoReq) ValidateAll

func (m *NodeMasterSyncInfoReq) ValidateAll() error

ValidateAll checks the field values on NodeMasterSyncInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeMasterSyncInfoReqMultiError, or nil if none found.

type NodeMasterSyncInfoReqMultiError

type NodeMasterSyncInfoReqMultiError []error

NodeMasterSyncInfoReqMultiError is an error wrapping multiple validation errors returned by NodeMasterSyncInfoReq.ValidateAll() if the designated constraints aren't met.

func (NodeMasterSyncInfoReqMultiError) AllErrors

func (m NodeMasterSyncInfoReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeMasterSyncInfoReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NodeMasterSyncInfoReqValidationError

type NodeMasterSyncInfoReqValidationError struct {
	// contains filtered or unexported fields
}

NodeMasterSyncInfoReqValidationError is the validation error returned by NodeMasterSyncInfoReq.Validate if the designated constraints aren't met.

func (NodeMasterSyncInfoReqValidationError) Cause

Cause function returns cause value.

func (NodeMasterSyncInfoReqValidationError) Error

Error satisfies the builtin error interface

func (NodeMasterSyncInfoReqValidationError) ErrorName

ErrorName returns error name.

func (NodeMasterSyncInfoReqValidationError) Field

Field function returns field value.

func (NodeMasterSyncInfoReqValidationError) Key

Key function returns key value.

func (NodeMasterSyncInfoReqValidationError) Reason

Reason function returns reason value.

type NodeMasterSyncInfoValidationError

type NodeMasterSyncInfoValidationError struct {
	// contains filtered or unexported fields
}

NodeMasterSyncInfoValidationError is the validation error returned by NodeMasterSyncInfo.Validate if the designated constraints aren't met.

func (NodeMasterSyncInfoValidationError) Cause

Cause function returns cause value.

func (NodeMasterSyncInfoValidationError) Error

Error satisfies the builtin error interface

func (NodeMasterSyncInfoValidationError) ErrorName

ErrorName returns error name.

func (NodeMasterSyncInfoValidationError) Field

Field function returns field value.

func (NodeMasterSyncInfoValidationError) Key

Key function returns key value.

func (NodeMasterSyncInfoValidationError) Reason

Reason function returns reason value.

type OfflinePushInfo

type OfflinePushInfo struct {
	Title         string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`                  //标题
	Desc          string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`                    //描述
	Ex            string `protobuf:"bytes,3,opt,name=ex,proto3" json:"ex,omitempty"`                        //扩展字段
	IOSPushSound  string `protobuf:"bytes,4,opt,name=iOSPushSound,proto3" json:"iOSPushSound,omitempty"`    //推送提示音
	IOSBadgeCount bool   `protobuf:"varint,5,opt,name=iOSBadgeCount,proto3" json:"iOSBadgeCount,omitempty"` //是否闪灯
	// contains filtered or unexported fields
}

离线推送

func (*OfflinePushInfo) Descriptor deprecated

func (*OfflinePushInfo) Descriptor() ([]byte, []int)

Deprecated: Use OfflinePushInfo.ProtoReflect.Descriptor instead.

func (*OfflinePushInfo) GetDesc

func (x *OfflinePushInfo) GetDesc() string

func (*OfflinePushInfo) GetEx

func (x *OfflinePushInfo) GetEx() string

func (*OfflinePushInfo) GetIOSBadgeCount

func (x *OfflinePushInfo) GetIOSBadgeCount() bool

func (*OfflinePushInfo) GetIOSPushSound

func (x *OfflinePushInfo) GetIOSPushSound() string

func (*OfflinePushInfo) GetTitle

func (x *OfflinePushInfo) GetTitle() string

func (*OfflinePushInfo) ProtoMessage

func (*OfflinePushInfo) ProtoMessage()

func (*OfflinePushInfo) ProtoReflect

func (x *OfflinePushInfo) ProtoReflect() protoreflect.Message

func (*OfflinePushInfo) Reset

func (x *OfflinePushInfo) Reset()

func (*OfflinePushInfo) String

func (x *OfflinePushInfo) String() string

func (*OfflinePushInfo) Validate

func (m *OfflinePushInfo) Validate() error

Validate checks the field values on OfflinePushInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*OfflinePushInfo) ValidateAll

func (m *OfflinePushInfo) ValidateAll() error

ValidateAll checks the field values on OfflinePushInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OfflinePushInfoMultiError, or nil if none found.

type OfflinePushInfoMultiError

type OfflinePushInfoMultiError []error

OfflinePushInfoMultiError is an error wrapping multiple validation errors returned by OfflinePushInfo.ValidateAll() if the designated constraints aren't met.

func (OfflinePushInfoMultiError) AllErrors

func (m OfflinePushInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OfflinePushInfoMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type OfflinePushInfoValidationError

type OfflinePushInfoValidationError struct {
	// contains filtered or unexported fields
}

OfflinePushInfoValidationError is the validation error returned by OfflinePushInfo.Validate if the designated constraints aren't met.

func (OfflinePushInfoValidationError) Cause

Cause function returns cause value.

func (OfflinePushInfoValidationError) Error

Error satisfies the builtin error interface

func (OfflinePushInfoValidationError) ErrorName

func (e OfflinePushInfoValidationError) ErrorName() string

ErrorName returns error name.

func (OfflinePushInfoValidationError) Field

Field function returns field value.

func (OfflinePushInfoValidationError) Key

Key function returns key value.

func (OfflinePushInfoValidationError) Reason

Reason function returns reason value.

type Pagination

type Pagination struct {
	No   int32 `protobuf:"varint,1,opt,name=no,proto3" json:"no,omitempty"`
	Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

分页

func (*Pagination) Descriptor deprecated

func (*Pagination) Descriptor() ([]byte, []int)

Deprecated: Use Pagination.ProtoReflect.Descriptor instead.

func (*Pagination) GetNo

func (x *Pagination) GetNo() int32

func (*Pagination) GetSize

func (x *Pagination) GetSize() int32

func (*Pagination) ProtoMessage

func (*Pagination) ProtoMessage()

func (*Pagination) ProtoReflect

func (x *Pagination) ProtoReflect() protoreflect.Message

func (*Pagination) Reset

func (x *Pagination) Reset()

func (*Pagination) String

func (x *Pagination) String() string

func (*Pagination) Validate

func (m *Pagination) Validate() error

Validate checks the field values on Pagination with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Pagination) ValidateAll

func (m *Pagination) ValidateAll() error

ValidateAll checks the field values on Pagination with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PaginationMultiError, or nil if none found.

type PaginationMultiError

type PaginationMultiError []error

PaginationMultiError is an error wrapping multiple validation errors returned by Pagination.ValidateAll() if the designated constraints aren't met.

func (PaginationMultiError) AllErrors

func (m PaginationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PaginationMultiError) Error

func (m PaginationMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PaginationValidationError

type PaginationValidationError struct {
	// contains filtered or unexported fields
}

PaginationValidationError is the validation error returned by Pagination.Validate if the designated constraints aren't met.

func (PaginationValidationError) Cause

func (e PaginationValidationError) Cause() error

Cause function returns cause value.

func (PaginationValidationError) Error

Error satisfies the builtin error interface

func (PaginationValidationError) ErrorName

func (e PaginationValidationError) ErrorName() string

ErrorName returns error name.

func (PaginationValidationError) Field

Field function returns field value.

func (PaginationValidationError) Key

Key function returns key value.

func (PaginationValidationError) Reason

func (e PaginationValidationError) Reason() string

Reason function returns reason value.

type PullingMsg

type PullingMsg struct {
	SessionType int32   `protobuf:"varint,1,opt,name=sessionType,proto3" json:"sessionType,omitempty"` //会话类型,个人和群聊
	MsgType     int32   `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"`         //拉取的消息类型1:离线消息;2:漫游消息;3:历史消息
	Uid         string  `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`                  //用户id或群id
	Seqs        []int64 `protobuf:"varint,4,rep,packed,name=seqs,proto3" json:"seqs,omitempty"`        //消息的seq集合
	// contains filtered or unexported fields
}

客户端拉取服务消息的请求消息结构

func (*PullingMsg) Descriptor deprecated

func (*PullingMsg) Descriptor() ([]byte, []int)

Deprecated: Use PullingMsg.ProtoReflect.Descriptor instead.

func (*PullingMsg) GetMsgType

func (x *PullingMsg) GetMsgType() int32

func (*PullingMsg) GetSeqs

func (x *PullingMsg) GetSeqs() []int64

func (*PullingMsg) GetSessionType

func (x *PullingMsg) GetSessionType() int32

func (*PullingMsg) GetUid

func (x *PullingMsg) GetUid() string

func (*PullingMsg) ProtoMessage

func (*PullingMsg) ProtoMessage()

func (*PullingMsg) ProtoReflect

func (x *PullingMsg) ProtoReflect() protoreflect.Message

func (*PullingMsg) Reset

func (x *PullingMsg) Reset()

func (*PullingMsg) String

func (x *PullingMsg) String() string

func (*PullingMsg) Validate

func (m *PullingMsg) Validate() error

Validate checks the field values on PullingMsg with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PullingMsg) ValidateAll

func (m *PullingMsg) ValidateAll() error

ValidateAll checks the field values on PullingMsg with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PullingMsgMultiError, or nil if none found.

type PullingMsgMultiError

type PullingMsgMultiError []error

PullingMsgMultiError is an error wrapping multiple validation errors returned by PullingMsg.ValidateAll() if the designated constraints aren't met.

func (PullingMsgMultiError) AllErrors

func (m PullingMsgMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PullingMsgMultiError) Error

func (m PullingMsgMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PullingMsgValidationError

type PullingMsgValidationError struct {
	// contains filtered or unexported fields
}

PullingMsgValidationError is the validation error returned by PullingMsg.Validate if the designated constraints aren't met.

func (PullingMsgValidationError) Cause

func (e PullingMsgValidationError) Cause() error

Cause function returns cause value.

func (PullingMsgValidationError) Error

Error satisfies the builtin error interface

func (PullingMsgValidationError) ErrorName

func (e PullingMsgValidationError) ErrorName() string

ErrorName returns error name.

func (PullingMsgValidationError) Field

Field function returns field value.

func (PullingMsgValidationError) Key

Key function returns key value.

func (PullingMsgValidationError) Reason

func (e PullingMsgValidationError) Reason() string

Reason function returns reason value.

type ResCode

type ResCode int32

消息响应码

const (
	ResCode_Success           ResCode = 0 //成功
	ResCode_DecodeErr         ResCode = 1 //消息内容解码错误
	ResCode_ArgsValidateErr   ResCode = 2 //参数错
	ResCode_SendErr           ResCode = 3 //发送失败
	ResCode_SendReceiverError ResCode = 4 //发送消息到接收器异常
)

func (ResCode) Descriptor

func (ResCode) Descriptor() protoreflect.EnumDescriptor

func (ResCode) Enum

func (x ResCode) Enum() *ResCode

func (ResCode) EnumDescriptor deprecated

func (ResCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResCode.Descriptor instead.

func (ResCode) Number

func (x ResCode) Number() protoreflect.EnumNumber

func (ResCode) String

func (x ResCode) String() string

func (ResCode) Type

func (ResCode) Type() protoreflect.EnumType

type ResMaxSeqMsg

type ResMaxSeqMsg struct {
	SessionType int32  `protobuf:"varint,1,opt,name=sessionType,proto3" json:"sessionType,omitempty"`     //会话类型,个人和群聊
	MaxSeq      int64  `protobuf:"varint,2,opt,name=max_seq,json=maxSeq,proto3" json:"max_seq,omitempty"` //最大的seq
	Uid         string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`                      //用户id或群id
	// contains filtered or unexported fields
}

最大seq的消息结构

func (*ResMaxSeqMsg) Descriptor deprecated

func (*ResMaxSeqMsg) Descriptor() ([]byte, []int)

Deprecated: Use ResMaxSeqMsg.ProtoReflect.Descriptor instead.

func (*ResMaxSeqMsg) GetMaxSeq

func (x *ResMaxSeqMsg) GetMaxSeq() int64

func (*ResMaxSeqMsg) GetSessionType

func (x *ResMaxSeqMsg) GetSessionType() int32

func (*ResMaxSeqMsg) GetUid

func (x *ResMaxSeqMsg) GetUid() string

func (*ResMaxSeqMsg) ProtoMessage

func (*ResMaxSeqMsg) ProtoMessage()

func (*ResMaxSeqMsg) ProtoReflect

func (x *ResMaxSeqMsg) ProtoReflect() protoreflect.Message

func (*ResMaxSeqMsg) Reset

func (x *ResMaxSeqMsg) Reset()

func (*ResMaxSeqMsg) String

func (x *ResMaxSeqMsg) String() string

func (*ResMaxSeqMsg) Validate

func (m *ResMaxSeqMsg) Validate() error

Validate checks the field values on ResMaxSeqMsg with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ResMaxSeqMsg) ValidateAll

func (m *ResMaxSeqMsg) ValidateAll() error

ValidateAll checks the field values on ResMaxSeqMsg with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResMaxSeqMsgMultiError, or nil if none found.

type ResMaxSeqMsgMultiError

type ResMaxSeqMsgMultiError []error

ResMaxSeqMsgMultiError is an error wrapping multiple validation errors returned by ResMaxSeqMsg.ValidateAll() if the designated constraints aren't met.

func (ResMaxSeqMsgMultiError) AllErrors

func (m ResMaxSeqMsgMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResMaxSeqMsgMultiError) Error

func (m ResMaxSeqMsgMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ResMaxSeqMsgValidationError

type ResMaxSeqMsgValidationError struct {
	// contains filtered or unexported fields
}

ResMaxSeqMsgValidationError is the validation error returned by ResMaxSeqMsg.Validate if the designated constraints aren't met.

func (ResMaxSeqMsgValidationError) Cause

Cause function returns cause value.

func (ResMaxSeqMsgValidationError) Error

Error satisfies the builtin error interface

func (ResMaxSeqMsgValidationError) ErrorName

func (e ResMaxSeqMsgValidationError) ErrorName() string

ErrorName returns error name.

func (ResMaxSeqMsgValidationError) Field

Field function returns field value.

func (ResMaxSeqMsgValidationError) Key

Key function returns key value.

func (ResMaxSeqMsgValidationError) Reason

Reason function returns reason value.

type ResPullingMsg

type ResPullingMsg struct {
	SessionType int32      `protobuf:"varint,1,opt,name=sessionType,proto3" json:"sessionType,omitempty"`     //会话类型,个人和群聊
	Uid         string     `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`                      //用户id或群id
	MinSeq      int64      `protobuf:"varint,4,opt,name=min_seq,json=minSeq,proto3" json:"min_seq,omitempty"` //最小seq
	Messages    []*MsgData `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"`            //消息数量
	Count       int64      `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"`                 //总数
	// contains filtered or unexported fields
}

客户端拉取消息的返回

func (*ResPullingMsg) Descriptor deprecated

func (*ResPullingMsg) Descriptor() ([]byte, []int)

Deprecated: Use ResPullingMsg.ProtoReflect.Descriptor instead.

func (*ResPullingMsg) GetCount

func (x *ResPullingMsg) GetCount() int64

func (*ResPullingMsg) GetMessages

func (x *ResPullingMsg) GetMessages() []*MsgData

func (*ResPullingMsg) GetMinSeq

func (x *ResPullingMsg) GetMinSeq() int64

func (*ResPullingMsg) GetSessionType

func (x *ResPullingMsg) GetSessionType() int32

func (*ResPullingMsg) GetUid

func (x *ResPullingMsg) GetUid() string

func (*ResPullingMsg) ProtoMessage

func (*ResPullingMsg) ProtoMessage()

func (*ResPullingMsg) ProtoReflect

func (x *ResPullingMsg) ProtoReflect() protoreflect.Message

func (*ResPullingMsg) Reset

func (x *ResPullingMsg) Reset()

func (*ResPullingMsg) String

func (x *ResPullingMsg) String() string

func (*ResPullingMsg) Validate

func (m *ResPullingMsg) Validate() error

Validate checks the field values on ResPullingMsg with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ResPullingMsg) ValidateAll

func (m *ResPullingMsg) ValidateAll() error

ValidateAll checks the field values on ResPullingMsg with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResPullingMsgMultiError, or nil if none found.

type ResPullingMsgMultiError

type ResPullingMsgMultiError []error

ResPullingMsgMultiError is an error wrapping multiple validation errors returned by ResPullingMsg.ValidateAll() if the designated constraints aren't met.

func (ResPullingMsgMultiError) AllErrors

func (m ResPullingMsgMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResPullingMsgMultiError) Error

func (m ResPullingMsgMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ResPullingMsgValidationError

type ResPullingMsgValidationError struct {
	// contains filtered or unexported fields
}

ResPullingMsgValidationError is the validation error returned by ResPullingMsg.Validate if the designated constraints aren't met.

func (ResPullingMsgValidationError) Cause

Cause function returns cause value.

func (ResPullingMsgValidationError) Error

Error satisfies the builtin error interface

func (ResPullingMsgValidationError) ErrorName

func (e ResPullingMsgValidationError) ErrorName() string

ErrorName returns error name.

func (ResPullingMsgValidationError) Field

Field function returns field value.

func (ResPullingMsgValidationError) Key

Key function returns key value.

func (ResPullingMsgValidationError) Reason

Reason function returns reason value.

type SessionType

type SessionType int32
const (
	SessionType_SingleChatType       SessionType = 0
	SessionType_GroupChatType        SessionType = 1
	SessionType_SuperGroupChatType   SessionType = 2
	SessionType_NotificationChatType SessionType = 3
)

func (SessionType) Descriptor

func (SessionType) Enum

func (x SessionType) Enum() *SessionType

func (SessionType) EnumDescriptor deprecated

func (SessionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SessionType.Descriptor instead.

func (SessionType) Number

func (x SessionType) Number() protoreflect.EnumNumber

func (SessionType) String

func (x SessionType) String() string

func (SessionType) Type

type SetBackgroundStatusReq

type SetBackgroundStatusReq struct {
	IsBackground bool `protobuf:"varint,1,opt,name=isBackground,proto3" json:"isBackground,omitempty"`
	// contains filtered or unexported fields
}

设置后台运行

func (*SetBackgroundStatusReq) Descriptor deprecated

func (*SetBackgroundStatusReq) Descriptor() ([]byte, []int)

Deprecated: Use SetBackgroundStatusReq.ProtoReflect.Descriptor instead.

func (*SetBackgroundStatusReq) GetIsBackground

func (x *SetBackgroundStatusReq) GetIsBackground() bool

func (*SetBackgroundStatusReq) ProtoMessage

func (*SetBackgroundStatusReq) ProtoMessage()

func (*SetBackgroundStatusReq) ProtoReflect

func (x *SetBackgroundStatusReq) ProtoReflect() protoreflect.Message

func (*SetBackgroundStatusReq) Reset

func (x *SetBackgroundStatusReq) Reset()

func (*SetBackgroundStatusReq) String

func (x *SetBackgroundStatusReq) String() string

func (*SetBackgroundStatusReq) Validate

func (m *SetBackgroundStatusReq) Validate() error

Validate checks the field values on SetBackgroundStatusReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetBackgroundStatusReq) ValidateAll

func (m *SetBackgroundStatusReq) ValidateAll() error

ValidateAll checks the field values on SetBackgroundStatusReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetBackgroundStatusReqMultiError, or nil if none found.

type SetBackgroundStatusReqMultiError

type SetBackgroundStatusReqMultiError []error

SetBackgroundStatusReqMultiError is an error wrapping multiple validation errors returned by SetBackgroundStatusReq.ValidateAll() if the designated constraints aren't met.

func (SetBackgroundStatusReqMultiError) AllErrors

func (m SetBackgroundStatusReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetBackgroundStatusReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetBackgroundStatusReqValidationError

type SetBackgroundStatusReqValidationError struct {
	// contains filtered or unexported fields
}

SetBackgroundStatusReqValidationError is the validation error returned by SetBackgroundStatusReq.Validate if the designated constraints aren't met.

func (SetBackgroundStatusReqValidationError) Cause

Cause function returns cause value.

func (SetBackgroundStatusReqValidationError) Error

Error satisfies the builtin error interface

func (SetBackgroundStatusReqValidationError) ErrorName

ErrorName returns error name.

func (SetBackgroundStatusReqValidationError) Field

Field function returns field value.

func (SetBackgroundStatusReqValidationError) Key

Key function returns key value.

func (SetBackgroundStatusReqValidationError) Reason

Reason function returns reason value.

type SetLanguageReq

type SetLanguageReq struct {
	Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

设置客户端语言

func (*SetLanguageReq) Descriptor deprecated

func (*SetLanguageReq) Descriptor() ([]byte, []int)

Deprecated: Use SetLanguageReq.ProtoReflect.Descriptor instead.

func (*SetLanguageReq) GetLanguage

func (x *SetLanguageReq) GetLanguage() string

func (*SetLanguageReq) ProtoMessage

func (*SetLanguageReq) ProtoMessage()

func (*SetLanguageReq) ProtoReflect

func (x *SetLanguageReq) ProtoReflect() protoreflect.Message

func (*SetLanguageReq) Reset

func (x *SetLanguageReq) Reset()

func (*SetLanguageReq) String

func (x *SetLanguageReq) String() string

func (*SetLanguageReq) Validate

func (m *SetLanguageReq) Validate() error

Validate checks the field values on SetLanguageReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetLanguageReq) ValidateAll

func (m *SetLanguageReq) ValidateAll() error

ValidateAll checks the field values on SetLanguageReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetLanguageReqMultiError, or nil if none found.

type SetLanguageReqMultiError

type SetLanguageReqMultiError []error

SetLanguageReqMultiError is an error wrapping multiple validation errors returned by SetLanguageReq.ValidateAll() if the designated constraints aren't met.

func (SetLanguageReqMultiError) AllErrors

func (m SetLanguageReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetLanguageReqMultiError) Error

func (m SetLanguageReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SetLanguageReqValidationError

type SetLanguageReqValidationError struct {
	// contains filtered or unexported fields
}

SetLanguageReqValidationError is the validation error returned by SetLanguageReq.Validate if the designated constraints aren't met.

func (SetLanguageReqValidationError) Cause

Cause function returns cause value.

func (SetLanguageReqValidationError) Error

Error satisfies the builtin error interface

func (SetLanguageReqValidationError) ErrorName

func (e SetLanguageReqValidationError) ErrorName() string

ErrorName returns error name.

func (SetLanguageReqValidationError) Field

Field function returns field value.

func (SetLanguageReqValidationError) Key

Key function returns key value.

func (SetLanguageReqValidationError) Reason

Reason function returns reason value.

type SingedMsg

type SingedMsg struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 加密数据
	Sign string `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"` // 签名
	// contains filtered or unexported fields
}

签名请求参数

func (*SingedMsg) Descriptor deprecated

func (*SingedMsg) Descriptor() ([]byte, []int)

Deprecated: Use SingedMsg.ProtoReflect.Descriptor instead.

func (*SingedMsg) GetData

func (x *SingedMsg) GetData() string

func (*SingedMsg) GetSign

func (x *SingedMsg) GetSign() string

func (*SingedMsg) ProtoMessage

func (*SingedMsg) ProtoMessage()

func (*SingedMsg) ProtoReflect

func (x *SingedMsg) ProtoReflect() protoreflect.Message

func (*SingedMsg) Reset

func (x *SingedMsg) Reset()

func (*SingedMsg) String

func (x *SingedMsg) String() string

func (*SingedMsg) Validate

func (m *SingedMsg) Validate() error

Validate checks the field values on SingedMsg with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SingedMsg) ValidateAll

func (m *SingedMsg) ValidateAll() error

ValidateAll checks the field values on SingedMsg with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SingedMsgMultiError, or nil if none found.

type SingedMsgMultiError

type SingedMsgMultiError []error

SingedMsgMultiError is an error wrapping multiple validation errors returned by SingedMsg.ValidateAll() if the designated constraints aren't met.

func (SingedMsgMultiError) AllErrors

func (m SingedMsgMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SingedMsgMultiError) Error

func (m SingedMsgMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SingedMsgValidationError

type SingedMsgValidationError struct {
	// contains filtered or unexported fields
}

SingedMsgValidationError is the validation error returned by SingedMsg.Validate if the designated constraints aren't met.

func (SingedMsgValidationError) Cause

func (e SingedMsgValidationError) Cause() error

Cause function returns cause value.

func (SingedMsgValidationError) Error

func (e SingedMsgValidationError) Error() string

Error satisfies the builtin error interface

func (SingedMsgValidationError) ErrorName

func (e SingedMsgValidationError) ErrorName() string

ErrorName returns error name.

func (SingedMsgValidationError) Field

func (e SingedMsgValidationError) Field() string

Field function returns field value.

func (SingedMsgValidationError) Key

Key function returns key value.

func (SingedMsgValidationError) Reason

func (e SingedMsgValidationError) Reason() string

Reason function returns reason value.

type SyncUser

type SyncUser struct {
	Id              string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                         // profile id 和 userId 等价
	FaceURL         string         `protobuf:"bytes,2,opt,name=faceURL,proto3" json:"faceURL,omitempty"`                                               // 头像地址
	Nickname        string         `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`                                             // 昵称
	Account         string         `protobuf:"bytes,4,opt,name=account,proto3" json:"account,omitempty"`                                               // 账号
	Code            string         `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`                                                     // 用户code
	Phone           string         `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`                                                   // 电话
	Gender          v2.Gender      `protobuf:"varint,7,opt,name=gender,proto3,enum=api.common.enum.v2.Gender" json:"gender,omitempty"`                 // 性别
	ShareCode       string         `protobuf:"bytes,8,opt,name=shareCode,proto3" json:"shareCode,omitempty"`                                           // 分享码
	Email           string         `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"`                                                   // 邮箱
	Birth           int64          `protobuf:"varint,10,opt,name=birth,proto3" json:"birth,omitempty"`                                                 // 生日
	FullName        string         `protobuf:"bytes,11,opt,name=fullName,proto3" json:"fullName,omitempty"`                                            // 真实名称
	PersonId        string         `protobuf:"bytes,12,opt,name=personId,proto3" json:"personId,omitempty"`                                            // 身份证号
	CreatedAt       int64          `protobuf:"varint,13,opt,name=createdAt,proto3" json:"createdAt,omitempty"`                                         // 创建时间
	UpdatedAt       int64          `protobuf:"varint,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`                                         // 更新时间
	DeletedAt       int64          `protobuf:"varint,15,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`                                         // 删除时间
	AreaCode        int32          `protobuf:"varint,16,opt,name=areaCode,proto3" json:"areaCode,omitempty"`                                           //手机区号
	Status          int32          `protobuf:"varint,17,opt,name=status,proto3" json:"status,omitempty"`                                               // 账户状态 1 -> 正常,2->冻结
	TenantId        string         `protobuf:"bytes,18,opt,name=tenantId,proto3" json:"tenantId,omitempty"`                                            // 租户id
	NodeId          string         `protobuf:"bytes,19,opt,name=nodeId,proto3" json:"nodeId,omitempty"`                                                //用户注册节点
	LastLoginNodeId string         `protobuf:"bytes,20,opt,name=lastLoginNodeId,proto3" json:"lastLoginNodeId,omitempty"`                              //上次登录节点
	Password        string         `protobuf:"bytes,21,opt,name=password,proto3" json:"password,omitempty"`                                            // 密码
	IsGenerate      int32          `protobuf:"varint,22,opt,name=isGenerate,proto3" json:"isGenerate,omitempty"`                                       //是否生成
	FromUserid      string         `protobuf:"bytes,23,opt,name=fromUserid,proto3" json:"fromUserid,omitempty"`                                        // 邀请人id
	AccountType     v2.AccountType `protobuf:"varint,24,opt,name=accountType,proto3,enum=api.common.enum.v2.AccountType" json:"accountType,omitempty"` // 账户类型
	CenterUserId    string         `protobuf:"bytes,25,opt,name=centerUserId,proto3" json:"centerUserId,omitempty"`                                    // 中心用户id
	// contains filtered or unexported fields
}

同步的用户信息模型

func (*SyncUser) Descriptor deprecated

func (*SyncUser) Descriptor() ([]byte, []int)

Deprecated: Use SyncUser.ProtoReflect.Descriptor instead.

func (*SyncUser) GetAccount

func (x *SyncUser) GetAccount() string

func (*SyncUser) GetAccountType

func (x *SyncUser) GetAccountType() v2.AccountType

func (*SyncUser) GetAreaCode

func (x *SyncUser) GetAreaCode() int32

func (*SyncUser) GetBirth

func (x *SyncUser) GetBirth() int64

func (*SyncUser) GetCenterUserId

func (x *SyncUser) GetCenterUserId() string

func (*SyncUser) GetCode

func (x *SyncUser) GetCode() string

func (*SyncUser) GetCreatedAt

func (x *SyncUser) GetCreatedAt() int64

func (*SyncUser) GetDeletedAt

func (x *SyncUser) GetDeletedAt() int64

func (*SyncUser) GetEmail

func (x *SyncUser) GetEmail() string

func (*SyncUser) GetFaceURL

func (x *SyncUser) GetFaceURL() string

func (*SyncUser) GetFromUserid

func (x *SyncUser) GetFromUserid() string

func (*SyncUser) GetFullName

func (x *SyncUser) GetFullName() string

func (*SyncUser) GetGender

func (x *SyncUser) GetGender() v2.Gender

func (*SyncUser) GetId

func (x *SyncUser) GetId() string

func (*SyncUser) GetIsGenerate

func (x *SyncUser) GetIsGenerate() int32

func (*SyncUser) GetLastLoginNodeId

func (x *SyncUser) GetLastLoginNodeId() string

func (*SyncUser) GetNickname

func (x *SyncUser) GetNickname() string

func (*SyncUser) GetNodeId

func (x *SyncUser) GetNodeId() string

func (*SyncUser) GetPassword

func (x *SyncUser) GetPassword() string

func (*SyncUser) GetPersonId

func (x *SyncUser) GetPersonId() string

func (*SyncUser) GetPhone

func (x *SyncUser) GetPhone() string

func (*SyncUser) GetShareCode

func (x *SyncUser) GetShareCode() string

func (*SyncUser) GetStatus

func (x *SyncUser) GetStatus() int32

func (*SyncUser) GetTenantId

func (x *SyncUser) GetTenantId() string

func (*SyncUser) GetUpdatedAt

func (x *SyncUser) GetUpdatedAt() int64

func (*SyncUser) ProtoMessage

func (*SyncUser) ProtoMessage()

func (*SyncUser) ProtoReflect

func (x *SyncUser) ProtoReflect() protoreflect.Message

func (*SyncUser) Reset

func (x *SyncUser) Reset()

func (*SyncUser) String

func (x *SyncUser) String() string

func (*SyncUser) Validate

func (m *SyncUser) Validate() error

Validate checks the field values on SyncUser with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SyncUser) ValidateAll

func (m *SyncUser) ValidateAll() error

ValidateAll checks the field values on SyncUser with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SyncUserMultiError, or nil if none found.

type SyncUserMultiError

type SyncUserMultiError []error

SyncUserMultiError is an error wrapping multiple validation errors returned by SyncUser.ValidateAll() if the designated constraints aren't met.

func (SyncUserMultiError) AllErrors

func (m SyncUserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SyncUserMultiError) Error

func (m SyncUserMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SyncUserValidationError

type SyncUserValidationError struct {
	// contains filtered or unexported fields
}

SyncUserValidationError is the validation error returned by SyncUser.Validate if the designated constraints aren't met.

func (SyncUserValidationError) Cause

func (e SyncUserValidationError) Cause() error

Cause function returns cause value.

func (SyncUserValidationError) Error

func (e SyncUserValidationError) Error() string

Error satisfies the builtin error interface

func (SyncUserValidationError) ErrorName

func (e SyncUserValidationError) ErrorName() string

ErrorName returns error name.

func (SyncUserValidationError) Field

func (e SyncUserValidationError) Field() string

Field function returns field value.

func (SyncUserValidationError) Key

func (e SyncUserValidationError) Key() bool

Key function returns key value.

func (SyncUserValidationError) Reason

func (e SyncUserValidationError) Reason() string

Reason function returns reason value.

type TenantDistributeInfo

type TenantDistributeInfo struct {
	Id               string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                             //租户主键
	CreatedAt        int64  `protobuf:"varint,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`              //创建时间
	UpdatedAt        int64  `protobuf:"varint,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`              //创建时间
	DeletedAt        int64  `protobuf:"varint,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`              //删除时间
	AssociatedUserID string `protobuf:"bytes,5,opt,name=associatedUserID,proto3" json:"associatedUserID,omitempty"` //开通用户id
	Name             string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`                         //租户名称
	Introduce        string `protobuf:"bytes,8,opt,name=introduce,proto3" json:"introduce,omitempty"`               //简介
	WebsiteAddress   string `protobuf:"bytes,9,opt,name=websiteAddress,proto3" json:"websiteAddress,omitempty"`     //网站地址
	WebsiteStatus    int32  `protobuf:"varint,10,opt,name=websiteStatus,proto3" json:"websiteStatus,omitempty"`     //网站状态1,申请中,0未开通,2:可用
	PackageType      string `protobuf:"bytes,11,opt,name=packageType,proto3" json:"packageType,omitempty"`          //套餐类型
	MaxNumber        int64  `protobuf:"varint,12,opt,name=maxNumber,proto3" json:"maxNumber,omitempty"`             // 最大用户数
	MaxGroupNumber   int64  `protobuf:"varint,13,opt,name=maxGroupNumber,proto3" json:"maxGroupNumber,omitempty"`   //最大群人数
	Phone            string `protobuf:"bytes,14,opt,name=phone,proto3" json:"phone,omitempty"`                      //手机号
	Status           int32  `protobuf:"varint,15,opt,name=status,proto3" json:"status,omitempty"`                   //状态,1,可用,0未开通,2过期
	StartTime        int64  `protobuf:"varint,16,opt,name=startTime,proto3" json:"startTime,omitempty"`             //开始时间
	EndTime          int64  `protobuf:"varint,17,opt,name=endTime,proto3" json:"endTime,omitempty"`                 //结束时间
	Code             string `protobuf:"bytes,18,opt,name=code,proto3" json:"code,omitempty"`                        //租户code
	PubKey           string `protobuf:"bytes,19,opt,name=pubKey,proto3" json:"pubKey,omitempty"`                    //租户公钥
	PriKey           string `protobuf:"bytes,20,opt,name=priKey,proto3" json:"priKey,omitempty"`                    // 租户私钥
	// contains filtered or unexported fields
}

租户下发信息信息

func (*TenantDistributeInfo) Descriptor deprecated

func (*TenantDistributeInfo) Descriptor() ([]byte, []int)

Deprecated: Use TenantDistributeInfo.ProtoReflect.Descriptor instead.

func (*TenantDistributeInfo) GetAssociatedUserID

func (x *TenantDistributeInfo) GetAssociatedUserID() string

func (*TenantDistributeInfo) GetCode

func (x *TenantDistributeInfo) GetCode() string

func (*TenantDistributeInfo) GetCreatedAt

func (x *TenantDistributeInfo) GetCreatedAt() int64

func (*TenantDistributeInfo) GetDeletedAt

func (x *TenantDistributeInfo) GetDeletedAt() int64

func (*TenantDistributeInfo) GetEndTime

func (x *TenantDistributeInfo) GetEndTime() int64

func (*TenantDistributeInfo) GetId

func (x *TenantDistributeInfo) GetId() string

func (*TenantDistributeInfo) GetIntroduce

func (x *TenantDistributeInfo) GetIntroduce() string
func (x *TenantDistributeInfo) GetLogo() string

func (*TenantDistributeInfo) GetMaxGroupNumber

func (x *TenantDistributeInfo) GetMaxGroupNumber() int64

func (*TenantDistributeInfo) GetMaxNumber

func (x *TenantDistributeInfo) GetMaxNumber() int64

func (*TenantDistributeInfo) GetName

func (x *TenantDistributeInfo) GetName() string

func (*TenantDistributeInfo) GetPackageType

func (x *TenantDistributeInfo) GetPackageType() string

func (*TenantDistributeInfo) GetPhone

func (x *TenantDistributeInfo) GetPhone() string

func (*TenantDistributeInfo) GetPriKey

func (x *TenantDistributeInfo) GetPriKey() string

func (*TenantDistributeInfo) GetPubKey

func (x *TenantDistributeInfo) GetPubKey() string

func (*TenantDistributeInfo) GetStartTime

func (x *TenantDistributeInfo) GetStartTime() int64

func (*TenantDistributeInfo) GetStatus

func (x *TenantDistributeInfo) GetStatus() int32

func (*TenantDistributeInfo) GetUpdatedAt

func (x *TenantDistributeInfo) GetUpdatedAt() int64

func (*TenantDistributeInfo) GetWebsiteAddress

func (x *TenantDistributeInfo) GetWebsiteAddress() string

func (*TenantDistributeInfo) GetWebsiteStatus

func (x *TenantDistributeInfo) GetWebsiteStatus() int32

func (*TenantDistributeInfo) ProtoMessage

func (*TenantDistributeInfo) ProtoMessage()

func (*TenantDistributeInfo) ProtoReflect

func (x *TenantDistributeInfo) ProtoReflect() protoreflect.Message

func (*TenantDistributeInfo) Reset

func (x *TenantDistributeInfo) Reset()

func (*TenantDistributeInfo) String

func (x *TenantDistributeInfo) String() string

func (*TenantDistributeInfo) Validate

func (m *TenantDistributeInfo) Validate() error

Validate checks the field values on TenantDistributeInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TenantDistributeInfo) ValidateAll

func (m *TenantDistributeInfo) ValidateAll() error

ValidateAll checks the field values on TenantDistributeInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantDistributeInfoMultiError, or nil if none found.

type TenantDistributeInfoMultiError

type TenantDistributeInfoMultiError []error

TenantDistributeInfoMultiError is an error wrapping multiple validation errors returned by TenantDistributeInfo.ValidateAll() if the designated constraints aren't met.

func (TenantDistributeInfoMultiError) AllErrors

func (m TenantDistributeInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TenantDistributeInfoMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TenantDistributeInfoValidationError

type TenantDistributeInfoValidationError struct {
	// contains filtered or unexported fields
}

TenantDistributeInfoValidationError is the validation error returned by TenantDistributeInfo.Validate if the designated constraints aren't met.

func (TenantDistributeInfoValidationError) Cause

Cause function returns cause value.

func (TenantDistributeInfoValidationError) Error

Error satisfies the builtin error interface

func (TenantDistributeInfoValidationError) ErrorName

ErrorName returns error name.

func (TenantDistributeInfoValidationError) Field

Field function returns field value.

func (TenantDistributeInfoValidationError) Key

Key function returns key value.

func (TenantDistributeInfoValidationError) Reason

Reason function returns reason value.

type TenantEscalationInfo

type TenantEscalationInfo struct {
	Id                string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                               //租户主键
	CreatedAt         int64  `protobuf:"varint,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`                //创建时间
	UpdatedAt         int64  `protobuf:"varint,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`                //创建时间
	DeletedAt         int64  `protobuf:"varint,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`                //删除时间
	AssociatedUsersID string `protobuf:"bytes,5,opt,name=associatedUsersID,proto3" json:"associatedUsersID,omitempty"` //开通用户id
	Name              string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`                           //租户名称
	Introduce         string `protobuf:"bytes,8,opt,name=introduce,proto3" json:"introduce,omitempty"`                 //简介
	WebsiteAddress    string `protobuf:"bytes,9,opt,name=websiteAddress,proto3" json:"websiteAddress,omitempty"`       //网站地址
	WebsiteStatus     int32  `protobuf:"varint,10,opt,name=websiteStatus,proto3" json:"websiteStatus,omitempty"`       //网站状态1,申请中,0未开通,2:可用
	MaxNumber         int64  `protobuf:"varint,12,opt,name=maxNumber,proto3" json:"maxNumber,omitempty"`               // 最大用户数
	MaxGroupNumber    int64  `protobuf:"varint,13,opt,name=maxGroupNumber,proto3" json:"maxGroupNumber,omitempty"`     //最大群人数
	Phone             string `protobuf:"bytes,14,opt,name=phone,proto3" json:"phone,omitempty"`                        //手机号
	Status            int32  `protobuf:"varint,15,opt,name=status,proto3" json:"status,omitempty"`                     //状态,1,可用,0未开通,2过期
	StartTime         int64  `protobuf:"varint,16,opt,name=startTime,proto3" json:"startTime,omitempty"`               //开始时间
	EndTime           int64  `protobuf:"varint,17,opt,name=endTime,proto3" json:"endTime,omitempty"`                   //结束时间
	// contains filtered or unexported fields
}

租户上报信息信息

func (*TenantEscalationInfo) Descriptor deprecated

func (*TenantEscalationInfo) Descriptor() ([]byte, []int)

Deprecated: Use TenantEscalationInfo.ProtoReflect.Descriptor instead.

func (*TenantEscalationInfo) GetAssociatedUsersID

func (x *TenantEscalationInfo) GetAssociatedUsersID() string

func (*TenantEscalationInfo) GetCreatedAt

func (x *TenantEscalationInfo) GetCreatedAt() int64

func (*TenantEscalationInfo) GetDeletedAt

func (x *TenantEscalationInfo) GetDeletedAt() int64

func (*TenantEscalationInfo) GetEndTime

func (x *TenantEscalationInfo) GetEndTime() int64

func (*TenantEscalationInfo) GetId

func (x *TenantEscalationInfo) GetId() string

func (*TenantEscalationInfo) GetIntroduce

func (x *TenantEscalationInfo) GetIntroduce() string
func (x *TenantEscalationInfo) GetLogo() string

func (*TenantEscalationInfo) GetMaxGroupNumber

func (x *TenantEscalationInfo) GetMaxGroupNumber() int64

func (*TenantEscalationInfo) GetMaxNumber

func (x *TenantEscalationInfo) GetMaxNumber() int64

func (*TenantEscalationInfo) GetName

func (x *TenantEscalationInfo) GetName() string

func (*TenantEscalationInfo) GetPhone

func (x *TenantEscalationInfo) GetPhone() string

func (*TenantEscalationInfo) GetStartTime

func (x *TenantEscalationInfo) GetStartTime() int64

func (*TenantEscalationInfo) GetStatus

func (x *TenantEscalationInfo) GetStatus() int32

func (*TenantEscalationInfo) GetUpdatedAt

func (x *TenantEscalationInfo) GetUpdatedAt() int64

func (*TenantEscalationInfo) GetWebsiteAddress

func (x *TenantEscalationInfo) GetWebsiteAddress() string

func (*TenantEscalationInfo) GetWebsiteStatus

func (x *TenantEscalationInfo) GetWebsiteStatus() int32

func (*TenantEscalationInfo) ProtoMessage

func (*TenantEscalationInfo) ProtoMessage()

func (*TenantEscalationInfo) ProtoReflect

func (x *TenantEscalationInfo) ProtoReflect() protoreflect.Message

func (*TenantEscalationInfo) Reset

func (x *TenantEscalationInfo) Reset()

func (*TenantEscalationInfo) String

func (x *TenantEscalationInfo) String() string

func (*TenantEscalationInfo) Validate

func (m *TenantEscalationInfo) Validate() error

Validate checks the field values on TenantEscalationInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TenantEscalationInfo) ValidateAll

func (m *TenantEscalationInfo) ValidateAll() error

ValidateAll checks the field values on TenantEscalationInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantEscalationInfoMultiError, or nil if none found.

type TenantEscalationInfoMultiError

type TenantEscalationInfoMultiError []error

TenantEscalationInfoMultiError is an error wrapping multiple validation errors returned by TenantEscalationInfo.ValidateAll() if the designated constraints aren't met.

func (TenantEscalationInfoMultiError) AllErrors

func (m TenantEscalationInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TenantEscalationInfoMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TenantEscalationInfoValidationError

type TenantEscalationInfoValidationError struct {
	// contains filtered or unexported fields
}

TenantEscalationInfoValidationError is the validation error returned by TenantEscalationInfo.Validate if the designated constraints aren't met.

func (TenantEscalationInfoValidationError) Cause

Cause function returns cause value.

func (TenantEscalationInfoValidationError) Error

Error satisfies the builtin error interface

func (TenantEscalationInfoValidationError) ErrorName

ErrorName returns error name.

func (TenantEscalationInfoValidationError) Field

Field function returns field value.

func (TenantEscalationInfoValidationError) Key

Key function returns key value.

func (TenantEscalationInfoValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL