Documentation ¶
Index ¶
- type AuthCalls
- type ContractCalls
- func (rest *ContractCalls) GetContracts(id string) ([]*model.Contract, error)
- func (rest *ContractCalls) UploadContracts(request payloads.UploadContractsRequest) (*payloads.UploadContractsResponse, error)
- func (rest *ContractCalls) VerifyContracts(request payloads.UploadContractsRequest) (*payloads.UploadContractsResponse, error)
- type ProjectCalls
- type UserCalls
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthCalls ¶
type AuthCalls struct { }
func NewAuthCalls ¶
func NewAuthCalls() *AuthCalls
func (*AuthCalls) Login ¶
func (rest *AuthCalls) Login(request payloads.LoginRequest) (*payloads.TokenResponse, error)
func (*AuthCalls) Register ¶
func (rest *AuthCalls) Register(request payloads.RegisterRequest) (*payloads.TokenResponse, error)
type ContractCalls ¶
type ContractCalls struct { }
func NewContractCalls ¶
func NewContractCalls() *ContractCalls
func (*ContractCalls) GetContracts ¶
func (rest *ContractCalls) GetContracts(id string) ([]*model.Contract, error)
func (*ContractCalls) UploadContracts ¶
func (rest *ContractCalls) UploadContracts(request payloads.UploadContractsRequest) (*payloads.UploadContractsResponse, error)
func (*ContractCalls) VerifyContracts ¶ added in v0.4.0
func (rest *ContractCalls) VerifyContracts(request payloads.UploadContractsRequest) (*payloads.UploadContractsResponse, error)
type ProjectCalls ¶
type ProjectCalls struct { }
func NewProjectCalls ¶
func NewProjectCalls() *ProjectCalls
func (*ProjectCalls) CreateProject ¶
func (rest *ProjectCalls) CreateProject(request payloads.ProjectRequest) (*payloads.ProjectResponse, error)
func (*ProjectCalls) GetProject ¶
func (rest *ProjectCalls) GetProject(accountId, id string) (*model.Project, error)
func (*ProjectCalls) GetProjects ¶
func (rest *ProjectCalls) GetProjects(accountId string) (*payloads.GetProjectsResponse, error)
Click to show internal directories.
Click to hide internal directories.