package
2.0.0+incompatible
Repository: https://github.com/jeffthedev/pact-go.git
Documentation: pkg.go.dev
# Structs
CommandResponse contains the exit status and any message from running an external command / service.
ConsumerVersionSelector are the way we specify which pacticipants and versions we want to use when configuring verifications See https://docs.pact.io/selectors for more.
MockServer contains the RPC client interface to a Mock Server.
PactMessageRequest contains the response from the Pact Message CLI execution.
PactReificationRequest contains the response from the Pact Message CLI execution.
ProviderState Models a provider state coming over the Wire.
ProviderVerifierResponse contains the output of the pact-provider-verifier command.
PublishRequest contains the details required to Publish Pacts to a broker.
ReificationResponse contains the output of the reification request.
State specifies how the system should be configured when verified.
VerifyRequest configures the pact verification process.
# Type aliases
Hook functions are used to tap into the lifecycle of a Consumer or Provider test.
ProviderStates is a mapping of consumers to all known states.
StateHandler is a provider function that sets up a given state before the provider interaction is validated.
StateHandlers is a list of StateHandler's.