publicapi

package
v0.0.0-...-52c00b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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) GetBalance

func (*MockService) IsStarted

func (s *MockService) IsStarted() bool

func (*MockService) Start

func (s *MockService) Start(virtualMachine virtualmachine.Service, stop *chan error)

func (*MockService) Stop

func (s *MockService) Stop()

func (*MockService) Transfer

type Server

type Server interface {
	Start(service Service, stop *chan error)
	Stop()
	IsStarted() bool
}

func NewServer

func NewServer(logger logger.Interface) Server

type Service

type Service interface {
	publicapi.Methods
	Start(virtualMachine virtualmachine.Service, stop *chan error)
	Stop()
	IsStarted() bool
}

func NewService

func NewService(logger logger.Interface) Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL