Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResult ¶
func (*BaseResult) Complete ¶
func (this *BaseResult) Complete(objref interface{})
func (*BaseResult) Fail ¶
func (this *BaseResult) Fail(err uerrors.CodeError)
func (*BaseResult) IsSuccess ¶
func (this *BaseResult) IsSuccess() bool
type RequestMsg ¶
type RequestMsg struct { Id string Params interface{} // contains filtered or unexported fields }
*
- --------------------------------- *
- struct region
- --------------------------------- *
*
- service stub convert message
func ConvertRequestMsgFromReqMsg ¶
func ConvertRequestMsgFromReqMsg(reqMsg *schema.ReqMsg) *RequestMsg
func NewRequestMsg ¶
func NewRequestMsg() *RequestMsg
func (*RequestMsg) ApplyReqMsg ¶
func (this *RequestMsg) ApplyReqMsg(reqmsg *schema.ReqMsg)
func (*RequestMsg) ConvertReqMsg ¶
func (this *RequestMsg) ConvertReqMsg() *schema.ReqMsg
type ResponseMsg ¶
type ResponseMsg struct { Id string Response map[string]*BaseResult }
*
- get response id handle
func (*ResponseMsg) ApplyResMsg ¶
func (this *ResponseMsg) ApplyResMsg(reqmsg *schema.ResMsg)
func (*ResponseMsg) ConvertResMsg ¶
func (this *ResponseMsg) ConvertResMsg() *schema.ResMsg
Click to show internal directories.
Click to hide internal directories.