Documentation ¶
Index ¶
- type BaseTransObject
- func (t BaseTransObject) GetAcctOrderId() string
- func (t BaseTransObject) GetBizCd() string
- func (t BaseTransObject) GetOrderId() string
- func (t BaseTransObject) GetProdCd() string
- func (t BaseTransObject) GetSysOrderId() string
- func (t BaseTransObject) GetTranCd() string
- func (t BaseTransObject) GetTranOrderId() string
- type BaseWorker
- func (t BaseWorker) Debug(msg ...interface{})
- func (t BaseWorker) Debugf(format string, msg ...interface{})
- func (t BaseWorker) Error(msg ...interface{})
- func (t BaseWorker) Errorf(format string, msg ...interface{})
- func (t BaseWorker) Info(msg ...interface{})
- func (t BaseWorker) Infof(format string, msg ...interface{})
- func (t *BaseWorker) Init() gerror.IError
- func (t *BaseWorker) SetOrderId(orderId string)
- func (t *BaseWorker) SetSysOrderId(sysOrderId string)
- func (t BaseWorker) Warn(msg ...interface{})
- func (t BaseWorker) Warnf(format string, msg ...interface{})
- type ICommOperator
- type IRun
- type ITransMsg
- type InitParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseTransObject ¶
type BaseTransObject struct { Order_id string `json:"order_id,omitempty"` //商户订单号 Tran_order_id string `json:"tran_order_id,omitempty"` //交易流水号 每个交易标识唯一流水号,每个子交易有各自的唯一键值 Sys_order_id string `json:"sys_order_id,omitempty"` //业务流水号 一个产品对应一个业务流水号 Acct_order_id string `json:"acct_order_id,omitempty"` //账务流水号 当交易涉及账务处理时,会对应一个账务流水号 如卡券 Prod_cd string `json:"prod_cd,omitempty"` Tran_cd string `json:"tran_cd,omitempty"` Biz_cd string `json:"biz_cd,omitempty"` }
func (BaseTransObject) GetAcctOrderId ¶
func (t BaseTransObject) GetAcctOrderId() string
func (BaseTransObject) GetBizCd ¶
func (t BaseTransObject) GetBizCd() string
func (BaseTransObject) GetOrderId ¶
func (t BaseTransObject) GetOrderId() string
func (BaseTransObject) GetProdCd ¶
func (t BaseTransObject) GetProdCd() string
func (BaseTransObject) GetSysOrderId ¶
func (t BaseTransObject) GetSysOrderId() string
func (BaseTransObject) GetTranCd ¶
func (t BaseTransObject) GetTranCd() string
func (BaseTransObject) GetTranOrderId ¶
func (t BaseTransObject) GetTranOrderId() string
type BaseWorker ¶
func (BaseWorker) Debug ¶
func (t BaseWorker) Debug(msg ...interface{})
func (BaseWorker) Debugf ¶
func (t BaseWorker) Debugf(format string, msg ...interface{})
func (BaseWorker) Error ¶
func (t BaseWorker) Error(msg ...interface{})
func (BaseWorker) Errorf ¶
func (t BaseWorker) Errorf(format string, msg ...interface{})
func (BaseWorker) Info ¶
func (t BaseWorker) Info(msg ...interface{})
func (BaseWorker) Infof ¶
func (t BaseWorker) Infof(format string, msg ...interface{})
func (*BaseWorker) Init ¶
func (t *BaseWorker) Init() gerror.IError
func (*BaseWorker) SetOrderId ¶
func (t *BaseWorker) SetOrderId(orderId string)
func (*BaseWorker) SetSysOrderId ¶
func (t *BaseWorker) SetSysOrderId(sysOrderId string)
func (BaseWorker) Warn ¶
func (t BaseWorker) Warn(msg ...interface{})
func (BaseWorker) Warnf ¶
func (t BaseWorker) Warnf(format string, msg ...interface{})
type ICommOperator ¶
type IRun ¶
type IRun interface { Init(initParams InitParams, chainName string) gerror.IError Run() Finish() }
type InitParams ¶
type InitParams struct { CluseterId int SysIdGenerator idManager.IdGenerator TranIdGenerator idManager.IdGenerator }
Click to show internal directories.
Click to hide internal directories.