Documentation ¶
Index ¶
- func Diff(t *testing.T, expected, actual interface{}, msg string, opts ...cmp.Option) bool
- func MakeBody(body string) io.ReadCloser
- func MustReadFile(file string) []byte
- func ReadRequest(t testing.TB, reqFile string) *http.Request
- func ReadSharedSecret(t *testing.T, sharedSecretFile string) []byte
- func ReadTestPrivateKey(t testing.TB, pkFile string, hint ...string) crypto.PrivateKey
- func ReadTestPubkey(t *testing.T, pubkeyFile string) crypto.PublicKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeBody ¶
func MakeBody(body string) io.ReadCloser
func MustReadFile ¶
func ReadTestPrivateKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.