Documentation ¶
Index ¶
- Variables
- type ChartService
- func (s *ChartService) CreateChart(ctx context.Context, req *dashboard.CreateChartRequest) (*dashboard.CreateChartReply, error)
- func (s *ChartService) DeleteChart(ctx context.Context, req *dashboard.DeleteChartRequest) (*dashboard.DeleteChartReply, error)
- func (s *ChartService) GetChart(ctx context.Context, req *dashboard.GetChartRequest) (*dashboard.GetChartReply, error)
- func (s *ChartService) ListChart(ctx context.Context, req *dashboard.ListChartRequest) (*dashboard.ListChartReply, error)
- func (s *ChartService) UpdateChart(ctx context.Context, req *dashboard.UpdateChartRequest) (*dashboard.UpdateChartReply, error)
- type DashboardService
- func (s *DashboardService) CreateDashboard(ctx context.Context, req *dashboard.CreateDashboardRequest) (*dashboard.CreateDashboardReply, error)
- func (s *DashboardService) DeleteDashboard(ctx context.Context, req *dashboard.DeleteDashboardRequest) (*dashboard.DeleteDashboardReply, error)
- func (s *DashboardService) GetDashboard(ctx context.Context, req *dashboard.GetDashboardRequest) (*dashboard.GetDashboardReply, error)
- func (s *DashboardService) ListDashboard(ctx context.Context, req *dashboard.ListDashboardRequest) (*dashboard.ListDashboardReply, error)
- func (s *DashboardService) ListDashboardSelect(ctx context.Context, req *dashboard.ListDashboardSelectRequest) (*dashboard.ListDashboardSelectReply, error)
- func (s *DashboardService) UpdateDashboard(ctx context.Context, req *dashboard.UpdateDashboardRequest) (*dashboard.UpdateDashboardReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSetDashboardService = wire.NewSet(NewDashboardService, NewChartService)
ProviderSetDashboardService 注入AuthService
Functions ¶
This section is empty.
Types ¶
type ChartService ¶
type ChartService struct { dashboard.UnimplementedChartServer // contains filtered or unexported fields }
func NewChartService ¶
func NewChartService(dashboardBiz *biz.DashboardBiz, logger log.Logger) *ChartService
func (*ChartService) CreateChart ¶
func (s *ChartService) CreateChart(ctx context.Context, req *dashboard.CreateChartRequest) (*dashboard.CreateChartReply, error)
func (*ChartService) DeleteChart ¶
func (s *ChartService) DeleteChart(ctx context.Context, req *dashboard.DeleteChartRequest) (*dashboard.DeleteChartReply, error)
func (*ChartService) GetChart ¶
func (s *ChartService) GetChart(ctx context.Context, req *dashboard.GetChartRequest) (*dashboard.GetChartReply, error)
func (*ChartService) ListChart ¶
func (s *ChartService) ListChart(ctx context.Context, req *dashboard.ListChartRequest) (*dashboard.ListChartReply, error)
func (*ChartService) UpdateChart ¶
func (s *ChartService) UpdateChart(ctx context.Context, req *dashboard.UpdateChartRequest) (*dashboard.UpdateChartReply, error)
type DashboardService ¶
type DashboardService struct { dashboard.UnimplementedDashboardServer // contains filtered or unexported fields }
func NewDashboardService ¶
func NewDashboardService(dashboardBiz *biz.DashboardBiz, logger log.Logger) *DashboardService
func (*DashboardService) CreateDashboard ¶
func (s *DashboardService) CreateDashboard(ctx context.Context, req *dashboard.CreateDashboardRequest) (*dashboard.CreateDashboardReply, error)
func (*DashboardService) DeleteDashboard ¶
func (s *DashboardService) DeleteDashboard(ctx context.Context, req *dashboard.DeleteDashboardRequest) (*dashboard.DeleteDashboardReply, error)
func (*DashboardService) GetDashboard ¶
func (s *DashboardService) GetDashboard(ctx context.Context, req *dashboard.GetDashboardRequest) (*dashboard.GetDashboardReply, error)
func (*DashboardService) ListDashboard ¶
func (s *DashboardService) ListDashboard(ctx context.Context, req *dashboard.ListDashboardRequest) (*dashboard.ListDashboardReply, error)
func (*DashboardService) ListDashboardSelect ¶
func (s *DashboardService) ListDashboardSelect(ctx context.Context, req *dashboard.ListDashboardSelectRequest) (*dashboard.ListDashboardSelectReply, error)
func (*DashboardService) UpdateDashboard ¶
func (s *DashboardService) UpdateDashboard(ctx context.Context, req *dashboard.UpdateDashboardRequest) (*dashboard.UpdateDashboardReply, error)
Click to show internal directories.
Click to hide internal directories.