package
Version:
v1.1.5
Opens a new window with list of versions in this module.
Published: Nov 20, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Config the key is a service address, and the value
is the metadata used to figure out what to do when
that service is called.
type Resolver struct {
Type string `json:"type"`
Endpoint string `json:"endpoint"`
Payload []byte `json:"payload"`
MockResponse []byte `json:"mock_response"`
}
Resolver is the action to perform instead of the
original action. I.e http post request
type Service struct {
Type string `json:"type"`
Resolve Resolver `json:"resolve"`
}
Service type is the original type,
i.e. queue, event etc.
Resolver is the action to perform instead.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.