Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecordsResponse ¶
type RecordsResponse struct {
Records []*RequestRecord `json:"records"`
}
RecordsResponse is used to read a /records response from the fakeserver.
type RequestRecord ¶
type RequestRecord struct { Method string `json:"method"` Path string `json:"path"` Body []byte `json:"body"` ValidRequest bool `json:"validRequest"` Timestamp int64 `json:"timestamp"` }
RequestRecord holds info about a single request.
type TokenResponse ¶
type TokenResponse struct {
Token string `json:"token"`
}
TokenResponse is used to read a token response from the fakeserver.
Click to show internal directories.
Click to hide internal directories.