Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailabilityChecker ¶
type AvailabilityChecker interface {
// Should return error if unable to ping (didn't pong)
Ping() error
}
type HTTPServerChecker ¶
func (*HTTPServerChecker) Ping ¶
func (c *HTTPServerChecker) Ping() error
type ServerLauncher ¶
type ServerLauncher struct {
// contains filtered or unexported fields
}
func NewServerLauncher ¶
func NewServerLauncher(ctx context.Context, wd, filename string, checker AvailabilityChecker) *ServerLauncher
func (*ServerLauncher) EndAndClean ¶
func (s *ServerLauncher) EndAndClean() error
func (*ServerLauncher) StartAndWait ¶
func (s *ServerLauncher) StartAndWait(waitFor time.Duration) error
Click to show internal directories.
Click to hide internal directories.