Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents an external data source which provides an REST endpoint delivering JSON bodies to consume
func (*Client) Inject ¶
func (c *Client) Inject( logger flamingo.Logger, conf *struct { BaseURL string `inject:"config:productservice.baseurl"` ListEndpoint string `inject:"config:productservice.endpoints.list"` DetailEndpoint string `inject:"config:productservice.endpoints.detail"` }, )
Inject dependencies
Click to show internal directories.
Click to hide internal directories.