Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToProjectPb ¶
func ToProjectPb(in *types.ProjectInfo) *sys.ProjectInfo
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.ProjectInfo) (*types.ProjectWithID, error)
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
func (*DeleteLogic) Delete ¶
func (l *DeleteLogic) Delete(req *types.ProjectWithID) error
type IndexLogic ¶
func NewIndexLogic ¶
func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) Index ¶
func (l *IndexLogic) Index(req *types.ProjectInfoIndexReq) (resp *types.ProjectInfoIndexResp, err error)
type ReadLogic ¶
func NewReadLogic ¶
func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic
func (*ReadLogic) Read ¶
func (l *ReadLogic) Read(req *types.ProjectWithID) (resp *types.ProjectInfo, err error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.ProjectInfo) error
Click to show internal directories.
Click to hide internal directories.