Documentation ¶
Index ¶
Constants ¶
View Source
const TestECDSAPrivateKey256BitPEM = `` /* 240-byte string literal not displayed */
View Source
const TestECDSAPrivateKey384BitPEM = `` /* 305-byte string literal not displayed */
View Source
const TestECDSAPrivateKey521bitPEM = `` /* 383-byte string literal not displayed */
View Source
const TestECDSAPublicKey256BitPEM = `` /* 177-byte string literal not displayed */
View Source
const TestECDSAPublicKey384BitPEM = `` /* 214-byte string literal not displayed */
View Source
const TestECDSAPublicKey521BitPEM = `` /* 267-byte string literal not displayed */
View Source
const TestRSAPrivateKey2048BitPEM = `` /* 1707-byte string literal not displayed */
View Source
const TestRSAPrivateKeyInvalidPEM = `-----BEGIN PRIVATE KEY-----
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC7VJTUt9Us8cKj
-----END PRIVATE KEY-----`
View Source
const TestRSAPublicKey2048BitPEM = `` /* 450-byte string literal not displayed */
Variables ¶
View Source
var ErrTestError = errors.New("testingz: test error")
Functions ¶
This section is empty.
Types ¶
type FormatterError ¶
func (*FormatterError) Error ¶
func (f *FormatterError) Error() string
type ReadCloser ¶
func (*ReadCloser) Close ¶
func (rc *ReadCloser) Close() error
type ReadWriter ¶
type ResponseWriter ¶
type ResponseWriter struct { WriteFunc func(p []byte) (n int, err error) HeaderFunc func() http.Header WriteHeaderFunc func(statusCode int) }
func (*ResponseWriter) Header ¶
func (rw *ResponseWriter) Header() http.Header
func (*ResponseWriter) WriteHeader ¶
func (rw *ResponseWriter) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.