call

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

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 (*ContractCalls) VerifyContracts added in v0.4.0

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)

type UserCalls

type UserCalls struct {
}

func NewUserCalls

func NewUserCalls() *UserCalls

func (*UserCalls) User

func (rest *UserCalls) User() (*model.User, error)

Jump to

Keyboard shortcuts

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