Documentation ¶
Index ¶
- type NginxApp
- type TcpApp
- func (a *TcpApp) AppGUID() string
- func (a *TcpApp) Endpoint() string
- func (a *TcpApp) Listen() error
- func (a *TcpApp) Port() uint16
- func (a *TcpApp) Register()
- func (a *TcpApp) RegisterAndListen()
- func (a *TcpApp) SetHandlers(handlers []func(conn *test_util.HttpConn))
- func (a *TcpApp) SetRouteService(routeService string)
- func (a *TcpApp) Stop()
- func (a *TcpApp) TlsRegister(serverCertDomainSAN string)
- func (a *TcpApp) TlsRegisterWithIndex(serverCertDomainSAN string, index int)
- func (a *TcpApp) Unregister()
- func (a *TcpApp) Urls() []route.Uri
- 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) chan 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 NginxApp ¶
type NginxApp struct { GUID string // contains filtered or unexported fields }
func NewNginxApp ¶
type TcpApp ¶
type TcpApp struct { GUID string // contains filtered or unexported fields }
func (*TcpApp) RegisterAndListen ¶
func (a *TcpApp) RegisterAndListen()
func (*TcpApp) SetHandlers ¶
func (*TcpApp) SetRouteService ¶
func (*TcpApp) TlsRegister ¶
func (*TcpApp) TlsRegisterWithIndex ¶
func (*TcpApp) Unregister ¶
func (a *TcpApp) Unregister()
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.