Documentation ¶
Index ¶
- type TestApp
- func NewGreetApp(urls []route.Uri, rPort uint16, mbusClient yagnats.NATSConn, ...) *TestApp
- func NewSlowApp(urls []route.Uri, rPort uint16, mbusClient yagnats.NATSConn, ...) *TestApp
- func NewStickyApp(urls []route.Uri, rPort uint16, mbusClient yagnats.NATSConn, ...) *TestApp
- func NewTestApp(urls []route.Uri, rPort uint16, mbusClient yagnats.NATSConn, ...) *TestApp
- func NewWebSocketApp(urls []route.Uri, rPort uint16, mbusClient yagnats.NATSConn, ...) *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) 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 NewGreetApp ¶
func NewSlowApp ¶
func NewStickyApp ¶
func NewTestApp ¶
func NewWebSocketApp ¶
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.