mocks

package
Version: v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bus

type Bus struct {
	SendCall struct {
		Endpoint string
		Method   string
		BodyJSON []byte
		Result   string
		Err      error
	}
}

func (*Bus) Send

func (b *Bus) Send(method, endpoint string, body, result interface{}) error

type Service

type Service struct {
	URLCall struct {
		ReturnURL string
	}

	StartCall struct {
		Debug  bool
		Called bool
		Err    error
	}

	StopCall struct {
		Called bool
		Err    error
	}

	WaitForBootCall struct {
		Timeout time.Duration
		Err     error
	}
}

func (*Service) Start

func (s *Service) Start(debug bool) error

func (*Service) Stop

func (s *Service) Stop() error

func (*Service) URL

func (s *Service) URL() string

func (*Service) WaitForBoot

func (s *Service) WaitForBoot(timeout time.Duration) error

Source Files

Jump to

Keyboard shortcuts

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