Documentation ¶
Index ¶
- type TestApp
- func (a *TestApp) AddHandler(path string, handler func(http.ResponseWriter, *http.Request))
- func (a *TestApp) CheckAppStatus(status int) error
- func (a *TestApp) Endpoint() string
- func (a *TestApp) Listen()
- func (a *TestApp) Port() uint16
- func (a *TestApp) Register()
- func (a *TestApp) RegisterRepeatedly(duration time.Duration)
- func (a *TestApp) Unregister()
- func (a *TestApp) Urls() []route.Uri
- func (a *TestApp) VerifyAppStatus(status int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestApp ¶
type TestApp struct {
// contains filtered or unexported fields
}
func NewTestApp ¶
func (*TestApp) AddHandler ¶
func (*TestApp) CheckAppStatus ¶
func (*TestApp) RegisterRepeatedly ¶
func (*TestApp) Unregister ¶
func (a *TestApp) Unregister()
func (*TestApp) VerifyAppStatus ¶
Click to show internal directories.
Click to hide internal directories.