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