Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestRequest ¶
func TestResponseGetNamesById ¶
TestResponseGetNamesById test response from GetNamesById
Types ¶
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
HTTPClient ...
func New ¶
func New(baseURL, userAgent string, client *http.Client) (*HTTPClient, error)
New return new http client
func TestNewHTTPClient ¶
func TestNewHTTPClient(t *testing.T) *HTTPClient
func (*HTTPClient) GetNamesByID ¶
func (h *HTTPClient) GetNamesByID(c []*model.Client, employeeID, userRole string) ([]*model.Client, error)
GetNamesByID getting client names by identifiers
Click to show internal directories.
Click to hide internal directories.