Documentation ¶
Index ¶
- type CompanyClient
- func (cc *CompanyClient) Get(id int64) (company company.Company, err error)
- func (cc *CompanyClient) GetMany(ids []int64) (companies []company.Company, err error)
- func (cc *CompanyClient) List() (companies []company.Company, err error)
- func (cc *CompanyClient) Post(c company.Company) (id company.ID, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompanyClient ¶
type CompanyClient struct {
// contains filtered or unexported fields
}
func NewCompanyClient ¶
func NewCompanyClient(endpoint string) *CompanyClient
func (*CompanyClient) Get ¶
func (cc *CompanyClient) Get(id int64) (company company.Company, err error)
func (*CompanyClient) GetMany ¶
func (cc *CompanyClient) GetMany(ids []int64) (companies []company.Company, err error)
Click to show internal directories.
Click to hide internal directories.