cmd

package
v0.0.0-...-720f504 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorInfo

type ErrorInfo struct {
	Message string `json:"msg"`
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL