Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Errors []ErrorInfo `json:"errors"`
}
type HealthReturn ¶
type HealthReturn struct {
Status int `json:"status"`
}
type ProjectApi ¶
type ProjectApi struct {
// contains filtered or unexported fields
}
func NewProjectApi ¶
func NewProjectApi(url string) *ProjectApi
func (ProjectApi) ApiHealth ¶
func (project ProjectApi) ApiHealth() (*HealthReturn, error)
func (ProjectApi) CreateCompany ¶
func (project ProjectApi) CreateCompany(r tempocerto.CompanyEntity) (*tempocerto.CompanyDTO, error)
func (ProjectApi) CreateWeeklySlots ¶
func (project ProjectApi) CreateWeeklySlots(r tempocerto.WeeklySlotEntity) (*tempocerto.WeeklySlotEntity, error)
Click to show internal directories.
Click to hide internal directories.