Documentation ¶
Index ¶
- type MockService
- func (s *MockService) CallContract(input *virtualmachine.CallContractInput) (*virtualmachine.CallContractOutput, error)
- func (s *MockService) IsStarted() bool
- func (s *MockService) ProcessTransaction(input *virtualmachine.ProcessTransactionInput) (*virtualmachine.ProcessTransactionOutput, error)
- func (s *MockService) Start(stateStorage statestorage.Service, stop *chan error)
- func (s *MockService) Stop()
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
mock.Mock
}
func (*MockService) CallContract ¶
func (s *MockService) CallContract(input *virtualmachine.CallContractInput) (*virtualmachine.CallContractOutput, error)
func (*MockService) IsStarted ¶
func (s *MockService) IsStarted() bool
func (*MockService) ProcessTransaction ¶
func (s *MockService) ProcessTransaction(input *virtualmachine.ProcessTransactionInput) (*virtualmachine.ProcessTransactionOutput, error)
func (*MockService) Start ¶
func (s *MockService) Start(stateStorage statestorage.Service, stop *chan error)
func (*MockService) Stop ¶
func (s *MockService) Stop()
type Service ¶
type Service interface { virtualmachine.Methods Start(stateStorage statestorage.Service, stop *chan error) Stop() IsStarted() bool }
func NewService ¶
Click to show internal directories.
Click to hide internal directories.