Documentation
¶
Index ¶
- func RandLocalTCPAddr(t *testing.T) *net.TCPAddr
- type Runner
- func (r *Runner[RT, CT]) Logger() *testlogger.Logger
- func (r *Runner[RT, CT]) Run() error
- func (r *Runner[RT, CT]) SetHTTPReadyStartWaiter(url string, timeout time.Duration) *Runner[RT, CT]
- func (r *Runner[RT, CT]) SetStartWaiter(w func(CT) bool, timeout time.Duration) *Runner[RT, CT]
- func (r *Runner[RT, CT]) SetTCPReadyStartWaiter(addr string, timeout time.Duration) *Runner[RT, CT]
- func (r *Runner[RT, CT]) Start() *Runner[RT, CT]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner[RT func(*runner.Runtime[CT]) error, CT any] struct { // contains filtered or unexported fields }
func (*Runner[RT, CT]) Logger ¶ added in v0.0.6
func (r *Runner[RT, CT]) Logger() *testlogger.Logger
func (*Runner[RT, CT]) SetHTTPReadyStartWaiter ¶
func (*Runner[RT, CT]) SetStartWaiter ¶
func (*Runner[RT, CT]) SetTCPReadyStartWaiter ¶
Click to show internal directories.
Click to hide internal directories.