Documentation ¶
Overview ¶
Package mesgtest is a testing package for MESG service. Use this package while unit testing your programs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrConnectionClosed ¶
type ErrConnectionClosed struct{}
ErrConnectionClosed returned when the connection closed between go-service and server.
func (ErrConnectionClosed) Error ¶
func (e ErrConnectionClosed) Error() string
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
Event represents a testing event.
type Execution ¶
type Execution struct {
// contains filtered or unexported fields
}
Execution is a testing task execution result.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a test server.
func (*Server) ListenToken ¶
ListenToken returns the token of service that started listening for tasks.
Click to show internal directories.
Click to hide internal directories.