server

package
v0.0.0-...-2fe84d8 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RoleRoot 超级管理员角色
	RoleRoot = "root"
)

Functions

This section is empty.

Types

type Server

func NewServer

func NewServer() *Server

func (*Server) Authenticate

func (s *Server) Authenticate(ctx context.Context, req *pb.AuthenticateRequest) (reply *pb.AuthenticateReply, err error)

Authenticate 认证

func (*Server) Close

func (s *Server) Close() (err error)

func (*Server) CreateCaseData

func (s *Server) CreateCaseData(ctx context.Context, req *pb.CreateCaseDataRequest) (data *pb.CaseData, err error)

CreateCaseData ...

func (*Server) CreateClass

func (s *Server) CreateClass(ctx context.Context, req *pb.CreateClassRequest) (data *pb.Class, err error)

CreateClass ...

func (*Server) CreateMeasureDetail

func (s *Server) CreateMeasureDetail(ctx context.Context, req *pb.CreateMeasureDetailRequest) (data *pb.MeasureDetail, err error)

CreateMeasureDetail ...

func (*Server) CreateMeasureResult

func (s *Server) CreateMeasureResult(ctx context.Context, req *pb.CreateMeasureResultRequest) (data *pb.MeasureResult, err error)

CreateMeasureResult ...

func (*Server) CreateMoveData

func (s *Server) CreateMoveData(ctx context.Context, req *pb.CreateMoveDataRequest) (data *pb.MoveData, err error)

CreateMoveData ...

func (*Server) CreateMovePrescription

func (s *Server) CreateMovePrescription(ctx context.Context, req *pb.CreateMovePrescriptionRequest) (data *pb.MovePrescription, err error)

CreateMovePrescription ...

func (*Server) CreatePersonal

func (s *Server) CreatePersonal(ctx context.Context, req *pb.CreatePersonalRequest) (data *pb.Personal, err error)

CreatePersonal 创建用户

func (*Server) CreateUser

func (s *Server) CreateUser(ctx context.Context, req *pb.CreateUserRequest) (user *pb.User, err error)

CreateUser 创建用户

func (*Server) CreateWork

func (s *Server) CreateWork(ctx context.Context, req *pb.CreateWorkRequest) (data *pb.Work, err error)

CreateWork ...

func (*Server) CreateWorkSubmit

func (s *Server) CreateWorkSubmit(ctx context.Context, req *pb.CreateWorkSubmitRequest) (data *pb.WorkSubmit, err error)

CreateWorkSubmit ...

func (*Server) DeleteCaseData

func (s *Server) DeleteCaseData(ctx context.Context, req *pb.DeleteCaseDataRequest) (data *pb.CaseData, err error)

DeleteCaseData ...

func (*Server) DeleteClass

func (s *Server) DeleteClass(ctx context.Context, req *pb.DeleteClassRequest) (data *pb.Class, err error)

DeleteClass ...

func (*Server) DeleteMeasureDetail

func (s *Server) DeleteMeasureDetail(ctx context.Context, req *pb.DeleteMeasureDetailRequest) (data *pb.MeasureDetail, err error)

DeleteMeasureDetail ...

func (*Server) DeleteMeasureResult

func (s *Server) DeleteMeasureResult(ctx context.Context, req *pb.DeleteMeasureResultRequest) (data *pb.MeasureResult, err error)

DeleteMeasureResult ...

func (*Server) DeleteMoveData

func (s *Server) DeleteMoveData(ctx context.Context, req *pb.DeleteMoveDataRequest) (data *pb.MoveData, err error)

DeleteMoveData ...

func (*Server) DeleteMovePrescription

func (s *Server) DeleteMovePrescription(ctx context.Context, req *pb.DeleteMovePrescriptionRequest) (data *pb.MovePrescription, err error)

DeleteMovePrescription ...

func (*Server) DeletePersonal

func (s *Server) DeletePersonal(ctx context.Context, req *pb.DeletePersonalRequest) (data *pb.Personal, err error)

DeletePersonal 删除用户

func (*Server) DeleteUser

func (s *Server) DeleteUser(ctx context.Context, req *pb.DeleteUserRequest) (user *pb.User, err error)

DeleteUser 删除用户

func (*Server) DeleteWork

func (s *Server) DeleteWork(ctx context.Context, req *pb.DeleteWorkRequest) (data *pb.Work, err error)

DeleteWork ...

func (*Server) DeleteWorkSubmit

func (s *Server) DeleteWorkSubmit(ctx context.Context, req *pb.DeleteWorkSubmitRequest) (data *pb.WorkSubmit, err error)

DeleteWorkSubmit ...

func (*Server) GetCaseData

func (s *Server) GetCaseData(ctx context.Context, req *pb.GetCaseDataRequest) (data *pb.CaseData, err error)

GetCaseData ...

func (*Server) GetCaseDatas

func (s *Server) GetCaseDatas(ctx context.Context, req *pb.GetCaseDatasRequest) (reply *pb.GetCaseDatasReply, err error)

GetCaseDatas ...

func (*Server) GetClass

func (s *Server) GetClass(ctx context.Context, req *pb.GetClassRequest) (data *pb.Class, err error)

GetClass ...

func (*Server) GetClasses

func (s *Server) GetClasses(ctx context.Context, req *pb.GetClassesRequest) (reply *pb.GetClassesReply, err error)

GetClasses ...

func (*Server) GetMeasureDetail

func (s *Server) GetMeasureDetail(ctx context.Context, req *pb.GetMeasureDetailRequest) (data *pb.MeasureDetail, err error)

GetMeasureDetail ...

func (*Server) GetMeasureDetails

func (s *Server) GetMeasureDetails(ctx context.Context, req *pb.GetMeasureDetailsRequest) (reply *pb.GetMeasureDetailsReply, err error)

GetMeasureDetails ...

func (*Server) GetMeasureResult

func (s *Server) GetMeasureResult(ctx context.Context, req *pb.GetMeasureResultRequest) (data *pb.MeasureResult, err error)

GetMeasureResult ...

func (*Server) GetMeasureResults

func (s *Server) GetMeasureResults(ctx context.Context, req *pb.GetMeasureResultsRequest) (reply *pb.GetMeasureResultsReply, err error)

GetMeasureResults ...

func (*Server) GetMoveData

func (s *Server) GetMoveData(ctx context.Context, req *pb.GetMoveDataRequest) (data *pb.MoveData, err error)

GetMoveData ...

func (*Server) GetMoveDatas

func (s *Server) GetMoveDatas(ctx context.Context, req *pb.GetMoveDatasRequest) (reply *pb.GetMoveDatasReply, err error)

GetMoveDatas ...

func (*Server) GetMovePrescription

func (s *Server) GetMovePrescription(ctx context.Context, req *pb.GetMovePrescriptionRequest) (data *pb.MovePrescription, err error)

GetMovePrescription ...

func (*Server) GetMovePrescriptions

func (s *Server) GetMovePrescriptions(ctx context.Context, req *pb.GetMovePrescriptionsRequest) (reply *pb.GetMovePrescriptionsReply, err error)

GetMovePrescriptions ...

func (*Server) GetPersonal

func (s *Server) GetPersonal(ctx context.Context, req *pb.GetPersonalRequest) (data *pb.Personal, err error)

GetPersonal 获取用户信息

func (*Server) GetPersonals

func (s *Server) GetPersonals(ctx context.Context, req *pb.GetPersonalsRequest) (reply *pb.GetPersonalsReply, err error)

GetPersonals

func (*Server) GetUser

func (s *Server) GetUser(ctx context.Context, req *pb.GetUserRequest) (user *pb.User, err error)

GetUser 获取用户信息

func (*Server) GetUsers

func (s *Server) GetUsers(ctx context.Context, req *pb.GetUsersRequest) (reply *pb.GetUsersReply, err error)

GetUsers

func (*Server) GetWork

func (s *Server) GetWork(ctx context.Context, req *pb.GetWorkRequest) (data *pb.Work, err error)

GetWork ...

func (*Server) GetWorkSubmit

func (s *Server) GetWorkSubmit(ctx context.Context, req *pb.GetWorkSubmitRequest) (data *pb.WorkSubmit, err error)

GetWorkSubmit ...

func (*Server) GetWorkSubmits

func (s *Server) GetWorkSubmits(ctx context.Context, req *pb.GetWorkSubmitsRequest) (reply *pb.GetWorkSubmitsReply, err error)

GetWorkSubmits ...

func (*Server) GetWorks

func (s *Server) GetWorks(ctx context.Context, req *pb.GetWorksRequest) (reply *pb.GetWorksReply, err error)

GetWorks ...

func (*Server) Login

func (s *Server) Login(ctx context.Context, req *pb.LoginRequest) (reply *pb.LoginReply, err error)

Login 用户登录

func (*Server) ModifyUserPassword

func (s *Server) ModifyUserPassword(ctx context.Context, req *pb.ModifyUserPasswordRequest) (reply *pb.ModifyUserPasswordReply, err error)

用户修改密码

func (*Server) Serve

func (s *Server) Serve() (err error)

func (*Server) UpdateCaseData

func (s *Server) UpdateCaseData(ctx context.Context, req *pb.UpdateCaseDataRequest) (data *pb.CaseData, err error)

UpdateCaseData ...

func (*Server) UpdateClass

func (s *Server) UpdateClass(ctx context.Context, req *pb.UpdateClassRequest) (data *pb.Class, err error)

UpdateClass ...

func (*Server) UpdateMeasureDetail

func (s *Server) UpdateMeasureDetail(ctx context.Context, req *pb.UpdateMeasureDetailRequest) (data *pb.MeasureDetail, err error)

UpdateMeasureDetail ...

func (*Server) UpdateMeasureResult

func (s *Server) UpdateMeasureResult(ctx context.Context, req *pb.UpdateMeasureResultRequest) (data *pb.MeasureResult, err error)

UpdateMeasureResult ...

func (*Server) UpdateMoveData

func (s *Server) UpdateMoveData(ctx context.Context, req *pb.UpdateMoveDataRequest) (data *pb.MoveData, err error)

UpdateMoveData ...

func (*Server) UpdateMovePrescription

func (s *Server) UpdateMovePrescription(ctx context.Context, req *pb.UpdateMovePrescriptionRequest) (data *pb.MovePrescription, err error)

UpdateMovePrescription ...

func (*Server) UpdatePersonal

func (s *Server) UpdatePersonal(ctx context.Context, req *pb.UpdatePersonalRequest) (data *pb.Personal, err error)

UpdatePersonal 更新用户信息

func (*Server) UpdateUser

func (s *Server) UpdateUser(ctx context.Context, req *pb.UpdateUserRequest) (user *pb.User, err error)

UpdateUser 更新用户信息

func (*Server) UpdateWork

func (s *Server) UpdateWork(ctx context.Context, req *pb.UpdateWorkRequest) (data *pb.Work, err error)

UpdateWork ...

func (*Server) UpdateWorkSubmit

func (s *Server) UpdateWorkSubmit(ctx context.Context, req *pb.UpdateWorkSubmitRequest) (data *pb.WorkSubmit, err error)

UpdateWorkSubmit ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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