Documentation
¶
Overview ¶
Package apitest provides support for excuting api test logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeyStore ¶
type KeyStore struct{}
KeyStore represents a mock keystore with a hardcoded key.
func (*KeyStore) PrivateKey ¶
PrivateKey implements the auth interface.
type Table ¶
type Table struct {
Name string
URL string
Token string
Method string
StatusCode int
Input any
GotResp any
ExpResp any
CmpFunc func(got any, exp any) string
}
Table represent fields needed for running an api test.
Click to show internal directories.
Click to hide internal directories.