fonchain-artistinfo/cmd/internal/controller/artistinfo_statement.go

45 lines
2.2 KiB
Go
Raw Normal View History

2023-03-16 10:05:17 +00:00
package controller
2023-03-17 10:05:51 +00:00
// import (
// "context"
2023-03-16 10:05:17 +00:00
2023-03-17 10:05:51 +00:00
// "github.com/fonchain/fonchain-artistinfo/cmd/internal/logic"
// "github.com/fonchain/fonchain-artistinfo/pb/artistinfoStatement"
// emptypb "google.golang.org/protobuf/types/known/emptypb"
// )
2023-03-16 10:05:17 +00:00
2023-03-17 10:05:51 +00:00
// //go:generate mockgen -destination .\artistinfoStatement_triple.pb.go -package controller -source ..\..\..\pb\artistinfoStatement\artistinfoStatement_triple.pb.go StatementServer
2023-03-16 10:05:17 +00:00
2023-03-17 10:05:51 +00:00
// type StatementServerProvider struct {
// artistinfoStatement.UnimplementedStatementServer
// logic logic.StatementServerLogic
// }
2023-03-16 10:05:17 +00:00
2023-03-17 10:05:51 +00:00
// func (s *StatementServerProvider) CreateStatementBatch(ctx context.Context, in *artistinfoStatement.StatementBatchRequest) (res *artistinfoStatement.CreateStatementBatchResponse, err error) {
// return s.logic.CreateStatementBatch(in)
// }
2023-03-16 10:05:17 +00:00
2023-03-17 10:05:51 +00:00
// func (s *StatementServerProvider) BatchCreateStatementBatch(ctx context.Context, in *artistinfoStatement.BatchCreateStatementBatchRequest) (*emptypb.Empty, error) {
// return s.logic.BatchCreateStatementBatch(in)
// }
2023-03-16 10:05:17 +00:00
2023-03-17 10:05:51 +00:00
// func (s *StatementServerProvider) GetStatementBatchList(ctx context.Context, in *artistinfoStatement.GetStatementBatchListRequest) (*artistinfoStatement.GetStatementBatchListResponse, error) {
// return s.logic.GetStatementBatchList(in)
// }
2023-03-16 10:05:17 +00:00
2023-03-17 10:05:51 +00:00
// func (s *StatementServerProvider) CreateStatementDetail(ctx context.Context, in *artistinfoStatement.StatementDetailRequest) (*artistinfoStatement.CreateStatementDetailResponse, error) {
// return s.logic.CreateStatementDetail(in)
// }
2023-03-16 10:05:17 +00:00
2023-03-17 10:05:51 +00:00
// func (s *StatementServerProvider) BatchCreateStatementDetail(ctx context.Context, in *artistinfoStatement.BatchCreateStatementDetailRequest) (*emptypb.Empty, error) {
// return s.logic.BatchCreateStatementDetail(in)
// }
2023-03-16 10:05:17 +00:00
2023-03-17 10:05:51 +00:00
// func (s *StatementServerProvider) GetStatementDetailList(ctx context.Context, in *artistinfoStatement.GetStatementDetailListRequest) (*artistinfoStatement.GetStatementDetailListResponse, error) {
// return s.logic.GetStatementDetailList(in)
// }
2023-03-17 06:36:55 +00:00
2023-03-17 10:05:51 +00:00
// func (s *StatementServerProvider) GetStatementBatchTimeMenus(ctx context.Context, in *artistinfoStatement.GetStatementBatchListRequest) (*artistinfoStatement.GetStatementBatchTimeMenusResponse, error) {
// return s.logic.GetStatementBatchTimeMenus(in)
// }