package
1.0.1
Repository: https://github.com/highwire/http-api-mock.git
Documentation: pkg.go.dev

# Functions

NewFileDefinition file definition constructor.

# Variables

ErrNotFoundPath error from missing or configuration path.

# Structs

AMQPPublishing used for sending to AMQP server.
No description provided by the author
FileDefinition this struct contains the path of definition and some config readers.
No description provided by the author
JSONReader struct created to read json config files.
Match contains the whole information about the request match.
Mock contains the user mock definition.
NonJSONItem used for storing non JSON content in mongo, by saving it in a the NonJSONContent of a wrapper json content.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Result contains the match result and the failing matches with different mocks and the reason or the fail.
YAMLReader struct created to read yaml config files.

# Interfaces

ConfigReader interface allows recognize if there is available some config reader for an a specific file.
Reader interface contains the funtions to obtain the mock defintions.

# Type aliases

No description provided by the author
No description provided by the author
PrioritySort mock array sorted by priority.
No description provided by the author
No description provided by the author