Documentation ¶
Index ¶
- Constants
- type WeCrossRPCService
- func (wcs *WeCrossRPCService) AsyncSend(httpMethod string, uri string, request *types.Request, ...)
- func (wcs *WeCrossRPCService) GetTransactionContex() *transactionContext.TxCtx
- func (wcs *WeCrossRPCService) Init() *common.WeCrossSDKError
- func (wcs *WeCrossRPCService) Send(httpMethod string, uri string, inputRequest *types.Request, ...) (*types.Response, *common.WeCrossSDKError)
- func (wcs *WeCrossRPCService) SetClassPath(dirpath string)
- type WeCrossService
Constants ¶
View Source
const ( WeCrossRPCServiceTag = "WeCrossRPCService" Max_Send_Wait_Time = 20 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WeCrossRPCService ¶
type WeCrossRPCService struct {
// contains filtered or unexported fields
}
func NewWeCrossRPCService ¶
func NewWeCrossRPCService() *WeCrossRPCService
func (*WeCrossRPCService) AsyncSend ¶
func (wcs *WeCrossRPCService) AsyncSend(httpMethod string, uri string, request *types.Request, responseType response.ResponseType, back *types.CallBack)
func (*WeCrossRPCService) GetTransactionContex ¶
func (wcs *WeCrossRPCService) GetTransactionContex() *transactionContext.TxCtx
func (*WeCrossRPCService) Init ¶
func (wcs *WeCrossRPCService) Init() *common.WeCrossSDKError
func (*WeCrossRPCService) Send ¶
func (wcs *WeCrossRPCService) Send(httpMethod string, uri string, inputRequest *types.Request, responseType response.ResponseType) (*types.Response, *common.WeCrossSDKError)
func (*WeCrossRPCService) SetClassPath ¶
func (wcs *WeCrossRPCService) SetClassPath(dirpath string)
type WeCrossService ¶
type WeCrossService interface { Init() *common.WeCrossSDKError Send(httpMethod string, uri string, request *types.Request, responseType response.ResponseType) (*types.Response, *common.WeCrossSDKError) AsyncSend(httpMethod string, uri string, request *types.Request, responseType response.ResponseType, back *types.CallBack) GetTransactionContex() *transactionContext.TxCtx }
Click to show internal directories.
Click to hide internal directories.