Documentation
¶
Index ¶
- type BsWorker
- func (worker *BsWorker) ExecCommonTransaction(wpwc *vm.WorkerProcWithCallback) error
- func (worker *BsWorker) ExecJob(workerProcWithCallback *vm.WorkerProcWithCallback) error
- func (worker *BsWorker) FetchContractType(workerProcWithCallback *vm.WorkerProcWithCallback) string
- func (worker *BsWorker) GetInitType(wpwc *vm.WorkerProcWithCallback) string
- func (worker *BsWorker) GetInvokeType(wpwc *vm.WorkerProcWithCallback) (string, error)
- func (worker *BsWorker) VmInitialize()
- func (worker *BsWorker) VmJob(data interface{}) (interface{}, error)
- func (worker *BsWorker) VmReady() bool
- func (worker *BsWorker) VmTerminate()
- type WorkerInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BsWorker ¶
type BsWorker struct {
// contains filtered or unexported fields
}
func (*BsWorker) ExecCommonTransaction ¶
func (worker *BsWorker) ExecCommonTransaction(wpwc *vm.WorkerProcWithCallback) error
func (*BsWorker) ExecJob ¶
func (worker *BsWorker) ExecJob(workerProcWithCallback *vm.WorkerProcWithCallback) error
func (*BsWorker) FetchContractType ¶
func (worker *BsWorker) FetchContractType(workerProcWithCallback *vm.WorkerProcWithCallback) string
func (*BsWorker) GetInitType ¶
func (worker *BsWorker) GetInitType(wpwc *vm.WorkerProcWithCallback) string
func (*BsWorker) GetInvokeType ¶
func (worker *BsWorker) GetInvokeType(wpwc *vm.WorkerProcWithCallback) (string, error)
func (*BsWorker) VmInitialize ¶
func (worker *BsWorker) VmInitialize()
func (*BsWorker) VmTerminate ¶
func (worker *BsWorker) VmTerminate()
type WorkerInfo ¶
type WorkerInfo struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.