Documentation
¶
Index ¶
- func NewHTTPClient() *http.Client
- func NewHTTPSClient(tlsConf *tls.Config) *http.Client
- func NewLogger() (*logrus.Logger, *logrustest.Hook)
- func NumGoroutines(filter string) (numRoutine int)
- func RSAPubKeyToJWK(key rsa.PublicKey) map[string]interface{}
- func WaitForClosedPort(port int)
- func WaitForOpenPort(port int)
- type Backend
- type Header
- type Helper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPClient ¶
NewHTTPClient creates a new <http.Client> object.
func NumGoroutines ¶
func RSAPubKeyToJWK ¶ added in v1.14.0
func WaitForClosedPort ¶
func WaitForClosedPort(port int)
func WaitForOpenPort ¶
func WaitForOpenPort(port int)
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func NewBackend ¶
func NewBackend() *Backend
func NewExpiredBackend ¶
func NewExpiredBackend() (*Backend, *server.SelfSignedCertificate)
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
func (*Helper) NewInlineContext ¶
func (*Helper) NewOpenAPIConf ¶
func (*Helper) TestFailed ¶
Click to show internal directories.
Click to hide internal directories.