Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Logger lager.Logger
HttpClient HttpClient
Url string
Marshaler marshal.Marshaler
Unmarshaler marshal.Unmarshaler
}
type HttpResponseCodeError ¶
func (*HttpResponseCodeError) Error ¶
func (h *HttpResponseCodeError) Error() string
type JsonClient ¶
type JsonClient interface {
Do(method, route string, reqData, respData interface{}, token string) error
}
func New ¶
func New(logger lager.Logger, httpClient HttpClient, baseURL string) JsonClient
Click to show internal directories.
Click to hide internal directories.