Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PACT_MESSAGE_METADATA_HEADER = "PACT_MESSAGE_METADATA"
View Source
var PACT_MESSAGE_METADATA_HEADER2 = "Pact-Message-Metadata"
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler func([]models.ProviderState) (Body, Metadata, error)
Handler is a provider function that generates a message for a Consumer given a Message context (state, description etc.)
type Verifier ¶
type VerifyMessageRequest ¶
type VerifyMessageRequest struct { provider.VerifyRequest // MessageHandlers contains a mapped list of message handlers for a provider // that will be rable to produce the correct message format for a given // consumer interaction MessageHandlers Handlers }
VerifyMessageRequest contains the verification params.
Click to show internal directories.
Click to hide internal directories.