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