clients

package
v0.0.0-...-945c817 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 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 AuthClient

type AuthClient interface {
	VerifyUserOnServer(user *model.User) (int64, *model.HttpError)
	CreateUserOnServer(data *model.User) (*auth_grpc.User, *model.HttpError)
}

type ChatClient

type ChatClient interface {
	CreateChatOnServer(chat *model2.Chat) error
}

type ClientFreelancer

type ClientFreelancer interface {
	CreateFreelancerOnServer(userId int64) (*freelancer_grpc.Freelancer, error)
	GetFreelancerByUserFromServer(id int64) (*freelancer_grpc.Freelancer, error)
	GetFreelancerFromServer(id int64) (*freelancer_grpc.ExtendedFreelancer, error)
}

type ClientJob

type ClientJob interface {
	GetJobFromServer(id int64) (*job_grpc.Job, error)
	GetUserIDByJobID(jobid int64) (int64, error)
	GetTags() ([]string, error)
}

type ClientResponse

type ClientResponse interface {
	GetResponseFromServer(id int64) (*response_grpc.Response, error)
	UpdateResponseOnServer(response *response_grpc.Response) error
}

type ClientUser

type ClientUser interface {
	GetUserFromServer(userID *user_grpc.UserID) (*user_grpc.User, error)
	GetNamesFromServer() (*user_grpc.Users, error)
}

type CompanyClient

type CompanyClient interface {
	CreateCompanyOnServer(int64) (*company_grpc.Company, error)
	GetCompanyFromServer(int64) (*company_grpc.CompanyOutput, error)
}

type LocationClient

type LocationClient interface {
	GetCountry(id int64) (*location_grpc.Country, error)
	GetCity(id int64) (*location_grpc.City, error)
}

type ManagerClient

type ManagerClient interface {
	CreateManagerOnServer(userId int64, companyId int64) (*manager_grpc.Manager, error)
	GetManagerByUserFromServer(id int64) (*manager_grpc.Manager, error)
	GetManagerFromServer(id int64) (*manager_grpc.Manager, error)
}

Jump to

Keyboard shortcuts

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