Discover Packages
github.com/sinhashubham95/moxy
persistence
entities
package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Aug 12, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Mock struct {
Tag string `json:"tag"`
Method string `json:"method"`
Path string `json:"path"`
DelayInMillis int64 `json:"delayInMillis"`
Status int `json:"status"`
Body interface{} `json:"body"`
}
Mock is the mock entity
Decode is used to decode the bytes to this mock instance
Encode is used to get the encoded bytes for this mock instance
Key is the key of the mock entity
Name is the mock entity name
type MockKey struct {
Tag string `json:"tag"`
Method string `json:"method"`
Path string `json:"path"`
}
MockKey is the primary key for mock entity
Source Files
¶
Click to show internal directories.
Click to hide internal directories.