Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server define the API endpoints for the contract matching calls
func (Server) MatchContract ¶
func (s Server) MatchContract(w http.ResponseWriter, req *http.Request)
MatchContract match a single contract and persist if is requested
func (Server) UpdateProducer ¶
func (s Server) UpdateProducer(w http.ResponseWriter, req *http.Request)
UpdateProducer match a contract among all related contracts and persist if is requested
Click to show internal directories.
Click to hide internal directories.