Documentation
¶
Index ¶
- Variables
- func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)
- type AddSingleProjectReq
- func (*AddSingleProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddSingleProjectReq) GetCategory() int32
- func (x *AddSingleProjectReq) GetDeliveryDays() int64
- func (x *AddSingleProjectReq) GetDescription() string
- func (x *AddSingleProjectReq) GetNumberOfRevisions() int64
- func (x *AddSingleProjectReq) GetPrice() float64
- func (x *AddSingleProjectReq) GetTitle() string
- func (x *AddSingleProjectReq) GetType() string
- func (x *AddSingleProjectReq) GetUserId() string
- func (*AddSingleProjectReq) ProtoMessage()
- func (x *AddSingleProjectReq) ProtoReflect() protoreflect.Message
- func (x *AddSingleProjectReq) Reset()
- func (x *AddSingleProjectReq) String() string
- type AddSingleProjectRes
- func (*AddSingleProjectRes) Descriptor() ([]byte, []int)deprecated
- func (x *AddSingleProjectRes) GetError() string
- func (x *AddSingleProjectRes) GetResponse() string
- func (x *AddSingleProjectRes) GetStatus() int64
- func (*AddSingleProjectRes) ProtoMessage()
- func (x *AddSingleProjectRes) ProtoReflect() protoreflect.Message
- func (x *AddSingleProjectRes) Reset()
- func (x *AddSingleProjectRes) String() string
- type BuyProjectReq
- func (*BuyProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *BuyProjectReq) GetProjectId() string
- func (x *BuyProjectReq) GetUserId() string
- func (*BuyProjectReq) ProtoMessage()
- func (x *BuyProjectReq) ProtoReflect() protoreflect.Message
- func (x *BuyProjectReq) Reset()
- func (x *BuyProjectReq) String() string
- type BuyProjectRes
- func (*BuyProjectRes) Descriptor() ([]byte, []int)deprecated
- func (x *BuyProjectRes) GetError() string
- func (x *BuyProjectRes) GetResponse() string
- func (x *BuyProjectRes) GetStatus() int64
- func (*BuyProjectRes) ProtoMessage()
- func (x *BuyProjectRes) ProtoReflect() protoreflect.Message
- func (x *BuyProjectRes) Reset()
- func (x *BuyProjectRes) String() string
- type CapturePaymentReq
- func (*CapturePaymentReq) Descriptor() ([]byte, []int)deprecated
- func (x *CapturePaymentReq) GetOrderID() string
- func (x *CapturePaymentReq) GetPaymentID() string
- func (*CapturePaymentReq) ProtoMessage()
- func (x *CapturePaymentReq) ProtoReflect() protoreflect.Message
- func (x *CapturePaymentReq) Reset()
- func (x *CapturePaymentReq) String() string
- type CapturePaymentRes
- func (*CapturePaymentRes) Descriptor() ([]byte, []int)deprecated
- func (x *CapturePaymentRes) GetError() string
- func (x *CapturePaymentRes) GetStatus() int32
- func (x *CapturePaymentRes) GetUserName() string
- func (*CapturePaymentRes) ProtoMessage()
- func (x *CapturePaymentRes) ProtoReflect() protoreflect.Message
- func (x *CapturePaymentRes) Reset()
- func (x *CapturePaymentRes) String() string
- type CustomTier
- func (*CustomTier) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTier) GetDeliveryDays() int64
- func (x *CustomTier) GetDescription() string
- func (x *CustomTier) GetNumberOfRevisions() int64
- func (x *CustomTier) GetPrice() float64
- func (x *CustomTier) GetTitle() string
- func (*CustomTier) ProtoMessage()
- func (x *CustomTier) ProtoReflect() protoreflect.Message
- func (x *CustomTier) Reset()
- func (x *CustomTier) String() string
- type EditSingleProjectReq
- func (*EditSingleProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditSingleProjectReq) GetCategory() int32
- func (x *EditSingleProjectReq) GetDeliveryDays() int64
- func (x *EditSingleProjectReq) GetDescription() string
- func (x *EditSingleProjectReq) GetNumberOfRevisions() int64
- func (x *EditSingleProjectReq) GetPrice() float64
- func (x *EditSingleProjectReq) GetProjectId() string
- func (x *EditSingleProjectReq) GetTitle() string
- func (x *EditSingleProjectReq) GetType() string
- func (x *EditSingleProjectReq) GetUserId() string
- func (*EditSingleProjectReq) ProtoMessage()
- func (x *EditSingleProjectReq) ProtoReflect() protoreflect.Message
- func (x *EditSingleProjectReq) Reset()
- func (x *EditSingleProjectReq) String() string
- type EditSingleProjectRes
- func (*EditSingleProjectRes) Descriptor() ([]byte, []int)deprecated
- func (x *EditSingleProjectRes) GetError() string
- func (x *EditSingleProjectRes) GetResponse() string
- func (x *EditSingleProjectRes) GetStatus() int64
- func (*EditSingleProjectRes) ProtoMessage()
- func (x *EditSingleProjectRes) ProtoReflect() protoreflect.Message
- func (x *EditSingleProjectRes) Reset()
- func (x *EditSingleProjectRes) String() string
- type ExecutePaymentReq
- type ExecutePaymentRes
- func (*ExecutePaymentRes) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutePaymentRes) GetError() string
- func (x *ExecutePaymentRes) GetMerchantID() []string
- func (x *ExecutePaymentRes) GetPaymentID() string
- func (x *ExecutePaymentRes) GetStatus() int32
- func (*ExecutePaymentRes) ProtoMessage()
- func (x *ExecutePaymentRes) ProtoReflect() protoreflect.Message
- func (x *ExecutePaymentRes) Reset()
- func (x *ExecutePaymentRes) String() string
- type ListMyProjectReq
- type ListMyProjectRes
- func (*ListMyProjectRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListMyProjectRes) GetError() string
- func (x *ListMyProjectRes) GetProject() []*Project
- func (x *ListMyProjectRes) GetResponse() string
- func (x *ListMyProjectRes) GetStatus() int64
- func (*ListMyProjectRes) ProtoMessage()
- func (x *ListMyProjectRes) ProtoReflect() protoreflect.Message
- func (x *ListMyProjectRes) Reset()
- func (x *ListMyProjectRes) String() string
- type ListOneProjectReq
- type ListOneProjectRes
- func (*ListOneProjectRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListOneProjectRes) GetError() string
- func (x *ListOneProjectRes) GetProject() *Project
- func (x *ListOneProjectRes) GetResponse() string
- func (x *ListOneProjectRes) GetStatus() int64
- func (*ListOneProjectRes) ProtoMessage()
- func (x *ListOneProjectRes) ProtoReflect() protoreflect.Message
- func (x *ListOneProjectRes) Reset()
- func (x *ListOneProjectRes) String() string
- type ListProjectsRes
- func (*ListProjectsRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsRes) GetError() string
- func (x *ListProjectsRes) GetProject() []*Project
- func (x *ListProjectsRes) GetResponse() string
- func (x *ListProjectsRes) GetStatus() int64
- func (*ListProjectsRes) ProtoMessage()
- func (x *ListProjectsRes) ProtoReflect() protoreflect.Message
- func (x *ListProjectsRes) Reset()
- func (x *ListProjectsRes) String() string
- type NoParam
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetCategory() string
- func (x *Project) GetDeliveryDays() int32
- func (x *Project) GetDescription() string
- func (x *Project) GetID() int32
- func (x *Project) GetNumberOfRevisions() int32
- func (x *Project) GetPrice() float64
- func (x *Project) GetTitle() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectServiceClient
- type ProjectServiceServer
- type RemProjectReq
- func (*RemProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemProjectReq) GetProjectId() string
- func (x *RemProjectReq) GetUserId() string
- func (*RemProjectReq) ProtoMessage()
- func (x *RemProjectReq) ProtoReflect() protoreflect.Message
- func (x *RemProjectReq) Reset()
- func (x *RemProjectReq) String() string
- type RemProjectRes
- func (*RemProjectRes) Descriptor() ([]byte, []int)deprecated
- func (x *RemProjectRes) GetError() string
- func (x *RemProjectRes) GetResponse() string
- func (x *RemProjectRes) GetStatus() int64
- func (*RemProjectRes) ProtoMessage()
- func (x *RemProjectRes) ProtoReflect() protoreflect.Message
- func (x *RemProjectRes) Reset()
- func (x *RemProjectRes) String() string
- type UnimplementedProjectServiceServer
- func (UnimplementedProjectServiceServer) AddProject(context.Context, *AddSingleProjectReq) (*AddSingleProjectRes, error)
- func (UnimplementedProjectServiceServer) CapturePaymentProject(context.Context, *CapturePaymentReq) (*CapturePaymentRes, error)
- func (UnimplementedProjectServiceServer) EditProject(context.Context, *EditSingleProjectReq) (*EditSingleProjectRes, error)
- func (UnimplementedProjectServiceServer) ExecutePaymentProject(context.Context, *ExecutePaymentReq) (*ExecutePaymentRes, error)
- func (UnimplementedProjectServiceServer) ListMyProjects(context.Context, *ListMyProjectReq) (*ListMyProjectRes, error)
- func (UnimplementedProjectServiceServer) ListOneProject(context.Context, *ListOneProjectReq) (*ListOneProjectRes, error)
- func (UnimplementedProjectServiceServer) ListProjects(context.Context, *NoParam) (*ListProjectsRes, error)
- func (UnimplementedProjectServiceServer) OrderProject(context.Context, *BuyProjectReq) (*BuyProjectRes, error)
- func (UnimplementedProjectServiceServer) RemoveProject(context.Context, *RemProjectReq) (*RemProjectRes, error)
- type UnsafeProjectServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_pb_project_proto protoreflect.FileDescriptor
var ProjectService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "project.ProjectService", HandlerType: (*ProjectServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddProject", Handler: _ProjectService_AddProject_Handler, }, { MethodName: "EditProject", Handler: _ProjectService_EditProject_Handler, }, { MethodName: "RemoveProject", Handler: _ProjectService_RemoveProject_Handler, }, { MethodName: "ListProjects", Handler: _ProjectService_ListProjects_Handler, }, { MethodName: "ListOneProject", Handler: _ProjectService_ListOneProject_Handler, }, { MethodName: "ListMyProjects", Handler: _ProjectService_ListMyProjects_Handler, }, { MethodName: "OrderProject", Handler: _ProjectService_OrderProject_Handler, }, { MethodName: "ExecutePaymentProject", Handler: _ProjectService_ExecutePaymentProject_Handler, }, { MethodName: "CapturePaymentProject", Handler: _ProjectService_CapturePaymentProject_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pb/project.proto", }
ProjectService_ServiceDesc is the grpc.ServiceDesc for ProjectService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProjectServiceServer ¶
func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)
Types ¶
type AddSingleProjectReq ¶
type AddSingleProjectReq struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Category int32 `protobuf:"varint,3,opt,name=category,proto3" json:"category,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"` DeliveryDays int64 `protobuf:"varint,6,opt,name=delivery_days,json=deliveryDays,proto3" json:"delivery_days,omitempty"` NumberOfRevisions int64 `protobuf:"varint,7,opt,name=number_of_revisions,json=numberOfRevisions,proto3" json:"number_of_revisions,omitempty"` UserId string `protobuf:"bytes,8,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*AddSingleProjectReq) Descriptor
deprecated
func (*AddSingleProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use AddSingleProjectReq.ProtoReflect.Descriptor instead.
func (*AddSingleProjectReq) GetCategory ¶
func (x *AddSingleProjectReq) GetCategory() int32
func (*AddSingleProjectReq) GetDeliveryDays ¶
func (x *AddSingleProjectReq) GetDeliveryDays() int64
func (*AddSingleProjectReq) GetDescription ¶
func (x *AddSingleProjectReq) GetDescription() string
func (*AddSingleProjectReq) GetNumberOfRevisions ¶
func (x *AddSingleProjectReq) GetNumberOfRevisions() int64
func (*AddSingleProjectReq) GetPrice ¶
func (x *AddSingleProjectReq) GetPrice() float64
func (*AddSingleProjectReq) GetTitle ¶
func (x *AddSingleProjectReq) GetTitle() string
func (*AddSingleProjectReq) GetType ¶
func (x *AddSingleProjectReq) GetType() string
func (*AddSingleProjectReq) GetUserId ¶
func (x *AddSingleProjectReq) GetUserId() string
func (*AddSingleProjectReq) ProtoMessage ¶
func (*AddSingleProjectReq) ProtoMessage()
func (*AddSingleProjectReq) ProtoReflect ¶
func (x *AddSingleProjectReq) ProtoReflect() protoreflect.Message
func (*AddSingleProjectReq) Reset ¶
func (x *AddSingleProjectReq) Reset()
func (*AddSingleProjectReq) String ¶
func (x *AddSingleProjectReq) String() string
type AddSingleProjectRes ¶
type AddSingleProjectRes struct { Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` Response string `protobuf:"bytes,3,opt,name=Response,proto3" json:"Response,omitempty"` // contains filtered or unexported fields }
func (*AddSingleProjectRes) Descriptor
deprecated
func (*AddSingleProjectRes) Descriptor() ([]byte, []int)
Deprecated: Use AddSingleProjectRes.ProtoReflect.Descriptor instead.
func (*AddSingleProjectRes) GetError ¶
func (x *AddSingleProjectRes) GetError() string
func (*AddSingleProjectRes) GetResponse ¶
func (x *AddSingleProjectRes) GetResponse() string
func (*AddSingleProjectRes) GetStatus ¶
func (x *AddSingleProjectRes) GetStatus() int64
func (*AddSingleProjectRes) ProtoMessage ¶
func (*AddSingleProjectRes) ProtoMessage()
func (*AddSingleProjectRes) ProtoReflect ¶
func (x *AddSingleProjectRes) ProtoReflect() protoreflect.Message
func (*AddSingleProjectRes) Reset ¶
func (x *AddSingleProjectRes) Reset()
func (*AddSingleProjectRes) String ¶
func (x *AddSingleProjectRes) String() string
type BuyProjectReq ¶
type BuyProjectReq struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*BuyProjectReq) Descriptor
deprecated
func (*BuyProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use BuyProjectReq.ProtoReflect.Descriptor instead.
func (*BuyProjectReq) GetProjectId ¶
func (x *BuyProjectReq) GetProjectId() string
func (*BuyProjectReq) GetUserId ¶
func (x *BuyProjectReq) GetUserId() string
func (*BuyProjectReq) ProtoMessage ¶
func (*BuyProjectReq) ProtoMessage()
func (*BuyProjectReq) ProtoReflect ¶
func (x *BuyProjectReq) ProtoReflect() protoreflect.Message
func (*BuyProjectReq) Reset ¶
func (x *BuyProjectReq) Reset()
func (*BuyProjectReq) String ¶
func (x *BuyProjectReq) String() string
type BuyProjectRes ¶
type BuyProjectRes struct { Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` Response string `protobuf:"bytes,3,opt,name=Response,proto3" json:"Response,omitempty"` // contains filtered or unexported fields }
func (*BuyProjectRes) Descriptor
deprecated
func (*BuyProjectRes) Descriptor() ([]byte, []int)
Deprecated: Use BuyProjectRes.ProtoReflect.Descriptor instead.
func (*BuyProjectRes) GetError ¶
func (x *BuyProjectRes) GetError() string
func (*BuyProjectRes) GetResponse ¶
func (x *BuyProjectRes) GetResponse() string
func (*BuyProjectRes) GetStatus ¶
func (x *BuyProjectRes) GetStatus() int64
func (*BuyProjectRes) ProtoMessage ¶
func (*BuyProjectRes) ProtoMessage()
func (*BuyProjectRes) ProtoReflect ¶
func (x *BuyProjectRes) ProtoReflect() protoreflect.Message
func (*BuyProjectRes) Reset ¶
func (x *BuyProjectRes) Reset()
func (*BuyProjectRes) String ¶
func (x *BuyProjectRes) String() string
type CapturePaymentReq ¶
type CapturePaymentReq struct { PaymentID string `protobuf:"bytes,1,opt,name=paymentID,proto3" json:"paymentID,omitempty"` OrderID string `protobuf:"bytes,2,opt,name=orderID,proto3" json:"orderID,omitempty"` // contains filtered or unexported fields }
func (*CapturePaymentReq) Descriptor
deprecated
func (*CapturePaymentReq) Descriptor() ([]byte, []int)
Deprecated: Use CapturePaymentReq.ProtoReflect.Descriptor instead.
func (*CapturePaymentReq) GetOrderID ¶
func (x *CapturePaymentReq) GetOrderID() string
func (*CapturePaymentReq) GetPaymentID ¶
func (x *CapturePaymentReq) GetPaymentID() string
func (*CapturePaymentReq) ProtoMessage ¶
func (*CapturePaymentReq) ProtoMessage()
func (*CapturePaymentReq) ProtoReflect ¶
func (x *CapturePaymentReq) ProtoReflect() protoreflect.Message
func (*CapturePaymentReq) Reset ¶
func (x *CapturePaymentReq) Reset()
func (*CapturePaymentReq) String ¶
func (x *CapturePaymentReq) String() string
type CapturePaymentRes ¶
type CapturePaymentRes struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"` // contains filtered or unexported fields }
func (*CapturePaymentRes) Descriptor
deprecated
func (*CapturePaymentRes) Descriptor() ([]byte, []int)
Deprecated: Use CapturePaymentRes.ProtoReflect.Descriptor instead.
func (*CapturePaymentRes) GetError ¶
func (x *CapturePaymentRes) GetError() string
func (*CapturePaymentRes) GetStatus ¶
func (x *CapturePaymentRes) GetStatus() int32
func (*CapturePaymentRes) GetUserName ¶
func (x *CapturePaymentRes) GetUserName() string
func (*CapturePaymentRes) ProtoMessage ¶
func (*CapturePaymentRes) ProtoMessage()
func (*CapturePaymentRes) ProtoReflect ¶
func (x *CapturePaymentRes) ProtoReflect() protoreflect.Message
func (*CapturePaymentRes) Reset ¶
func (x *CapturePaymentRes) Reset()
func (*CapturePaymentRes) String ¶
func (x *CapturePaymentRes) String() string
type CustomTier ¶
type CustomTier struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` DeliveryDays int64 `protobuf:"varint,3,opt,name=delivery_days,json=deliveryDays,proto3" json:"delivery_days,omitempty"` NumberOfRevisions int64 `protobuf:"varint,4,opt,name=number_of_revisions,json=numberOfRevisions,proto3" json:"number_of_revisions,omitempty"` Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"` // contains filtered or unexported fields }
func (*CustomTier) Descriptor
deprecated
func (*CustomTier) Descriptor() ([]byte, []int)
Deprecated: Use CustomTier.ProtoReflect.Descriptor instead.
func (*CustomTier) GetDeliveryDays ¶
func (x *CustomTier) GetDeliveryDays() int64
func (*CustomTier) GetDescription ¶
func (x *CustomTier) GetDescription() string
func (*CustomTier) GetNumberOfRevisions ¶
func (x *CustomTier) GetNumberOfRevisions() int64
func (*CustomTier) GetPrice ¶
func (x *CustomTier) GetPrice() float64
func (*CustomTier) GetTitle ¶
func (x *CustomTier) GetTitle() string
func (*CustomTier) ProtoMessage ¶
func (*CustomTier) ProtoMessage()
func (*CustomTier) ProtoReflect ¶
func (x *CustomTier) ProtoReflect() protoreflect.Message
func (*CustomTier) Reset ¶
func (x *CustomTier) Reset()
func (*CustomTier) String ¶
func (x *CustomTier) String() string
type EditSingleProjectReq ¶
type EditSingleProjectReq struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Category int32 `protobuf:"varint,3,opt,name=category,proto3" json:"category,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"` DeliveryDays int64 `protobuf:"varint,6,opt,name=delivery_days,json=deliveryDays,proto3" json:"delivery_days,omitempty"` NumberOfRevisions int64 `protobuf:"varint,7,opt,name=number_of_revisions,json=numberOfRevisions,proto3" json:"number_of_revisions,omitempty"` UserId string `protobuf:"bytes,8,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ProjectId string `protobuf:"bytes,9,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*EditSingleProjectReq) Descriptor
deprecated
func (*EditSingleProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use EditSingleProjectReq.ProtoReflect.Descriptor instead.
func (*EditSingleProjectReq) GetCategory ¶
func (x *EditSingleProjectReq) GetCategory() int32
func (*EditSingleProjectReq) GetDeliveryDays ¶
func (x *EditSingleProjectReq) GetDeliveryDays() int64
func (*EditSingleProjectReq) GetDescription ¶
func (x *EditSingleProjectReq) GetDescription() string
func (*EditSingleProjectReq) GetNumberOfRevisions ¶
func (x *EditSingleProjectReq) GetNumberOfRevisions() int64
func (*EditSingleProjectReq) GetPrice ¶
func (x *EditSingleProjectReq) GetPrice() float64
func (*EditSingleProjectReq) GetProjectId ¶
func (x *EditSingleProjectReq) GetProjectId() string
func (*EditSingleProjectReq) GetTitle ¶
func (x *EditSingleProjectReq) GetTitle() string
func (*EditSingleProjectReq) GetType ¶
func (x *EditSingleProjectReq) GetType() string
func (*EditSingleProjectReq) GetUserId ¶
func (x *EditSingleProjectReq) GetUserId() string
func (*EditSingleProjectReq) ProtoMessage ¶
func (*EditSingleProjectReq) ProtoMessage()
func (*EditSingleProjectReq) ProtoReflect ¶
func (x *EditSingleProjectReq) ProtoReflect() protoreflect.Message
func (*EditSingleProjectReq) Reset ¶
func (x *EditSingleProjectReq) Reset()
func (*EditSingleProjectReq) String ¶
func (x *EditSingleProjectReq) String() string
type EditSingleProjectRes ¶
type EditSingleProjectRes struct { Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` Response string `protobuf:"bytes,3,opt,name=Response,proto3" json:"Response,omitempty"` // contains filtered or unexported fields }
func (*EditSingleProjectRes) Descriptor
deprecated
func (*EditSingleProjectRes) Descriptor() ([]byte, []int)
Deprecated: Use EditSingleProjectRes.ProtoReflect.Descriptor instead.
func (*EditSingleProjectRes) GetError ¶
func (x *EditSingleProjectRes) GetError() string
func (*EditSingleProjectRes) GetResponse ¶
func (x *EditSingleProjectRes) GetResponse() string
func (*EditSingleProjectRes) GetStatus ¶
func (x *EditSingleProjectRes) GetStatus() int64
func (*EditSingleProjectRes) ProtoMessage ¶
func (*EditSingleProjectRes) ProtoMessage()
func (*EditSingleProjectRes) ProtoReflect ¶
func (x *EditSingleProjectRes) ProtoReflect() protoreflect.Message
func (*EditSingleProjectRes) Reset ¶
func (x *EditSingleProjectRes) Reset()
func (*EditSingleProjectRes) String ¶
func (x *EditSingleProjectRes) String() string
type ExecutePaymentReq ¶
type ExecutePaymentReq struct { OrderID string `protobuf:"bytes,1,opt,name=orderID,proto3" json:"orderID,omitempty"` // contains filtered or unexported fields }
func (*ExecutePaymentReq) Descriptor
deprecated
func (*ExecutePaymentReq) Descriptor() ([]byte, []int)
Deprecated: Use ExecutePaymentReq.ProtoReflect.Descriptor instead.
func (*ExecutePaymentReq) GetOrderID ¶
func (x *ExecutePaymentReq) GetOrderID() string
func (*ExecutePaymentReq) ProtoMessage ¶
func (*ExecutePaymentReq) ProtoMessage()
func (*ExecutePaymentReq) ProtoReflect ¶
func (x *ExecutePaymentReq) ProtoReflect() protoreflect.Message
func (*ExecutePaymentReq) Reset ¶
func (x *ExecutePaymentReq) Reset()
func (*ExecutePaymentReq) String ¶
func (x *ExecutePaymentReq) String() string
type ExecutePaymentRes ¶
type ExecutePaymentRes struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` PaymentID string `protobuf:"bytes,3,opt,name=PaymentID,proto3" json:"PaymentID,omitempty"` MerchantID []string `protobuf:"bytes,4,rep,name=merchantID,proto3" json:"merchantID,omitempty"` // contains filtered or unexported fields }
func (*ExecutePaymentRes) Descriptor
deprecated
func (*ExecutePaymentRes) Descriptor() ([]byte, []int)
Deprecated: Use ExecutePaymentRes.ProtoReflect.Descriptor instead.
func (*ExecutePaymentRes) GetError ¶
func (x *ExecutePaymentRes) GetError() string
func (*ExecutePaymentRes) GetMerchantID ¶
func (x *ExecutePaymentRes) GetMerchantID() []string
func (*ExecutePaymentRes) GetPaymentID ¶
func (x *ExecutePaymentRes) GetPaymentID() string
func (*ExecutePaymentRes) GetStatus ¶
func (x *ExecutePaymentRes) GetStatus() int32
func (*ExecutePaymentRes) ProtoMessage ¶
func (*ExecutePaymentRes) ProtoMessage()
func (*ExecutePaymentRes) ProtoReflect ¶
func (x *ExecutePaymentRes) ProtoReflect() protoreflect.Message
func (*ExecutePaymentRes) Reset ¶
func (x *ExecutePaymentRes) Reset()
func (*ExecutePaymentRes) String ¶
func (x *ExecutePaymentRes) String() string
type ListMyProjectReq ¶
type ListMyProjectReq struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*ListMyProjectReq) Descriptor
deprecated
func (*ListMyProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use ListMyProjectReq.ProtoReflect.Descriptor instead.
func (*ListMyProjectReq) GetUserId ¶
func (x *ListMyProjectReq) GetUserId() string
func (*ListMyProjectReq) ProtoMessage ¶
func (*ListMyProjectReq) ProtoMessage()
func (*ListMyProjectReq) ProtoReflect ¶
func (x *ListMyProjectReq) ProtoReflect() protoreflect.Message
func (*ListMyProjectReq) Reset ¶
func (x *ListMyProjectReq) Reset()
func (*ListMyProjectReq) String ¶
func (x *ListMyProjectReq) String() string
type ListMyProjectRes ¶
type ListMyProjectRes struct { Project []*Project `protobuf:"bytes,1,rep,name=Project,proto3" json:"Project,omitempty"` Status int64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` Response string `protobuf:"bytes,4,opt,name=Response,proto3" json:"Response,omitempty"` // contains filtered or unexported fields }
func (*ListMyProjectRes) Descriptor
deprecated
func (*ListMyProjectRes) Descriptor() ([]byte, []int)
Deprecated: Use ListMyProjectRes.ProtoReflect.Descriptor instead.
func (*ListMyProjectRes) GetError ¶
func (x *ListMyProjectRes) GetError() string
func (*ListMyProjectRes) GetProject ¶
func (x *ListMyProjectRes) GetProject() []*Project
func (*ListMyProjectRes) GetResponse ¶
func (x *ListMyProjectRes) GetResponse() string
func (*ListMyProjectRes) GetStatus ¶
func (x *ListMyProjectRes) GetStatus() int64
func (*ListMyProjectRes) ProtoMessage ¶
func (*ListMyProjectRes) ProtoMessage()
func (*ListMyProjectRes) ProtoReflect ¶
func (x *ListMyProjectRes) ProtoReflect() protoreflect.Message
func (*ListMyProjectRes) Reset ¶
func (x *ListMyProjectRes) Reset()
func (*ListMyProjectRes) String ¶
func (x *ListMyProjectRes) String() string
type ListOneProjectReq ¶
type ListOneProjectReq struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*ListOneProjectReq) Descriptor
deprecated
func (*ListOneProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use ListOneProjectReq.ProtoReflect.Descriptor instead.
func (*ListOneProjectReq) GetProjectId ¶
func (x *ListOneProjectReq) GetProjectId() string
func (*ListOneProjectReq) ProtoMessage ¶
func (*ListOneProjectReq) ProtoMessage()
func (*ListOneProjectReq) ProtoReflect ¶
func (x *ListOneProjectReq) ProtoReflect() protoreflect.Message
func (*ListOneProjectReq) Reset ¶
func (x *ListOneProjectReq) Reset()
func (*ListOneProjectReq) String ¶
func (x *ListOneProjectReq) String() string
type ListOneProjectRes ¶
type ListOneProjectRes struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` Status int64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` Response string `protobuf:"bytes,4,opt,name=Response,proto3" json:"Response,omitempty"` // contains filtered or unexported fields }
func (*ListOneProjectRes) Descriptor
deprecated
func (*ListOneProjectRes) Descriptor() ([]byte, []int)
Deprecated: Use ListOneProjectRes.ProtoReflect.Descriptor instead.
func (*ListOneProjectRes) GetError ¶
func (x *ListOneProjectRes) GetError() string
func (*ListOneProjectRes) GetProject ¶
func (x *ListOneProjectRes) GetProject() *Project
func (*ListOneProjectRes) GetResponse ¶
func (x *ListOneProjectRes) GetResponse() string
func (*ListOneProjectRes) GetStatus ¶
func (x *ListOneProjectRes) GetStatus() int64
func (*ListOneProjectRes) ProtoMessage ¶
func (*ListOneProjectRes) ProtoMessage()
func (*ListOneProjectRes) ProtoReflect ¶
func (x *ListOneProjectRes) ProtoReflect() protoreflect.Message
func (*ListOneProjectRes) Reset ¶
func (x *ListOneProjectRes) Reset()
func (*ListOneProjectRes) String ¶
func (x *ListOneProjectRes) String() string
type ListProjectsRes ¶
type ListProjectsRes struct { Project []*Project `protobuf:"bytes,1,rep,name=project,proto3" json:"project,omitempty"` Status int64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` Response string `protobuf:"bytes,4,opt,name=Response,proto3" json:"Response,omitempty"` // contains filtered or unexported fields }
func (*ListProjectsRes) Descriptor
deprecated
func (*ListProjectsRes) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsRes.ProtoReflect.Descriptor instead.
func (*ListProjectsRes) GetError ¶
func (x *ListProjectsRes) GetError() string
func (*ListProjectsRes) GetProject ¶
func (x *ListProjectsRes) GetProject() []*Project
func (*ListProjectsRes) GetResponse ¶
func (x *ListProjectsRes) GetResponse() string
func (*ListProjectsRes) GetStatus ¶
func (x *ListProjectsRes) GetStatus() int64
func (*ListProjectsRes) ProtoMessage ¶
func (*ListProjectsRes) ProtoMessage()
func (*ListProjectsRes) ProtoReflect ¶
func (x *ListProjectsRes) ProtoReflect() protoreflect.Message
func (*ListProjectsRes) Reset ¶
func (x *ListProjectsRes) Reset()
func (*ListProjectsRes) String ¶
func (x *ListProjectsRes) String() string
type NoParam ¶
type NoParam struct {
// contains filtered or unexported fields
}
func (*NoParam) Descriptor
deprecated
func (*NoParam) ProtoMessage ¶
func (*NoParam) ProtoMessage()
func (*NoParam) ProtoReflect ¶
func (x *NoParam) ProtoReflect() protoreflect.Message
type Project ¶
type Project struct { ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` Category string `protobuf:"bytes,4,opt,name=Category,proto3" json:"Category,omitempty"` Price float64 `protobuf:"fixed64,5,opt,name=Price,proto3" json:"Price,omitempty"` DeliveryDays int32 `protobuf:"varint,6,opt,name=delivery_days,json=deliveryDays,proto3" json:"delivery_days,omitempty"` NumberOfRevisions int32 `protobuf:"varint,7,opt,name=number_of_revisions,json=numberOfRevisions,proto3" json:"number_of_revisions,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) GetCategory ¶
func (*Project) GetDeliveryDays ¶
func (*Project) GetDescription ¶
func (*Project) GetNumberOfRevisions ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectServiceClient ¶
type ProjectServiceClient interface { AddProject(ctx context.Context, in *AddSingleProjectReq, opts ...grpc.CallOption) (*AddSingleProjectRes, error) EditProject(ctx context.Context, in *EditSingleProjectReq, opts ...grpc.CallOption) (*EditSingleProjectRes, error) RemoveProject(ctx context.Context, in *RemProjectReq, opts ...grpc.CallOption) (*RemProjectRes, error) ListProjects(ctx context.Context, in *NoParam, opts ...grpc.CallOption) (*ListProjectsRes, error) ListOneProject(ctx context.Context, in *ListOneProjectReq, opts ...grpc.CallOption) (*ListOneProjectRes, error) ListMyProjects(ctx context.Context, in *ListMyProjectReq, opts ...grpc.CallOption) (*ListMyProjectRes, error) OrderProject(ctx context.Context, in *BuyProjectReq, opts ...grpc.CallOption) (*BuyProjectRes, error) ExecutePaymentProject(ctx context.Context, in *ExecutePaymentReq, opts ...grpc.CallOption) (*ExecutePaymentRes, error) CapturePaymentProject(ctx context.Context, in *CapturePaymentReq, opts ...grpc.CallOption) (*CapturePaymentRes, error) }
ProjectServiceClient is the client API for ProjectService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProjectServiceClient ¶
func NewProjectServiceClient(cc grpc.ClientConnInterface) ProjectServiceClient
type ProjectServiceServer ¶
type ProjectServiceServer interface { AddProject(context.Context, *AddSingleProjectReq) (*AddSingleProjectRes, error) EditProject(context.Context, *EditSingleProjectReq) (*EditSingleProjectRes, error) RemoveProject(context.Context, *RemProjectReq) (*RemProjectRes, error) ListProjects(context.Context, *NoParam) (*ListProjectsRes, error) ListOneProject(context.Context, *ListOneProjectReq) (*ListOneProjectRes, error) ListMyProjects(context.Context, *ListMyProjectReq) (*ListMyProjectRes, error) OrderProject(context.Context, *BuyProjectReq) (*BuyProjectRes, error) ExecutePaymentProject(context.Context, *ExecutePaymentReq) (*ExecutePaymentRes, error) CapturePaymentProject(context.Context, *CapturePaymentReq) (*CapturePaymentRes, error) // contains filtered or unexported methods }
ProjectServiceServer is the server API for ProjectService service. All implementations must embed UnimplementedProjectServiceServer for forward compatibility
type RemProjectReq ¶
type RemProjectReq struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*RemProjectReq) Descriptor
deprecated
func (*RemProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use RemProjectReq.ProtoReflect.Descriptor instead.
func (*RemProjectReq) GetProjectId ¶
func (x *RemProjectReq) GetProjectId() string
func (*RemProjectReq) GetUserId ¶
func (x *RemProjectReq) GetUserId() string
func (*RemProjectReq) ProtoMessage ¶
func (*RemProjectReq) ProtoMessage()
func (*RemProjectReq) ProtoReflect ¶
func (x *RemProjectReq) ProtoReflect() protoreflect.Message
func (*RemProjectReq) Reset ¶
func (x *RemProjectReq) Reset()
func (*RemProjectReq) String ¶
func (x *RemProjectReq) String() string
type RemProjectRes ¶
type RemProjectRes struct { Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` Response string `protobuf:"bytes,3,opt,name=Response,proto3" json:"Response,omitempty"` // contains filtered or unexported fields }
func (*RemProjectRes) Descriptor
deprecated
func (*RemProjectRes) Descriptor() ([]byte, []int)
Deprecated: Use RemProjectRes.ProtoReflect.Descriptor instead.
func (*RemProjectRes) GetError ¶
func (x *RemProjectRes) GetError() string
func (*RemProjectRes) GetResponse ¶
func (x *RemProjectRes) GetResponse() string
func (*RemProjectRes) GetStatus ¶
func (x *RemProjectRes) GetStatus() int64
func (*RemProjectRes) ProtoMessage ¶
func (*RemProjectRes) ProtoMessage()
func (*RemProjectRes) ProtoReflect ¶
func (x *RemProjectRes) ProtoReflect() protoreflect.Message
func (*RemProjectRes) Reset ¶
func (x *RemProjectRes) Reset()
func (*RemProjectRes) String ¶
func (x *RemProjectRes) String() string
type UnimplementedProjectServiceServer ¶
type UnimplementedProjectServiceServer struct { }
UnimplementedProjectServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedProjectServiceServer) AddProject ¶
func (UnimplementedProjectServiceServer) AddProject(context.Context, *AddSingleProjectReq) (*AddSingleProjectRes, error)
func (UnimplementedProjectServiceServer) CapturePaymentProject ¶
func (UnimplementedProjectServiceServer) CapturePaymentProject(context.Context, *CapturePaymentReq) (*CapturePaymentRes, error)
func (UnimplementedProjectServiceServer) EditProject ¶
func (UnimplementedProjectServiceServer) EditProject(context.Context, *EditSingleProjectReq) (*EditSingleProjectRes, error)
func (UnimplementedProjectServiceServer) ExecutePaymentProject ¶
func (UnimplementedProjectServiceServer) ExecutePaymentProject(context.Context, *ExecutePaymentReq) (*ExecutePaymentRes, error)
func (UnimplementedProjectServiceServer) ListMyProjects ¶
func (UnimplementedProjectServiceServer) ListMyProjects(context.Context, *ListMyProjectReq) (*ListMyProjectRes, error)
func (UnimplementedProjectServiceServer) ListOneProject ¶
func (UnimplementedProjectServiceServer) ListOneProject(context.Context, *ListOneProjectReq) (*ListOneProjectRes, error)
func (UnimplementedProjectServiceServer) ListProjects ¶
func (UnimplementedProjectServiceServer) ListProjects(context.Context, *NoParam) (*ListProjectsRes, error)
func (UnimplementedProjectServiceServer) OrderProject ¶
func (UnimplementedProjectServiceServer) OrderProject(context.Context, *BuyProjectReq) (*BuyProjectRes, error)
func (UnimplementedProjectServiceServer) RemoveProject ¶
func (UnimplementedProjectServiceServer) RemoveProject(context.Context, *RemProjectReq) (*RemProjectRes, error)
type UnsafeProjectServiceServer ¶
type UnsafeProjectServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProjectServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectServiceServer will result in compilation errors.