Documentation ¶
Index ¶
- func RouteWeb(e *gin.Engine)
- type ReportSrv
- func (s *ReportSrv) Chain() gin.HandlersChain
- func (s *ReportSrv) DeleteReport(req *web.DeleteReportReq) (*web.ReportResp, mir.Error)
- func (s *ReportSrv) ListReported() (*web.ListReportResp, mir.Error)
- func (s *ReportSrv) SendReport(req *web.ReportReq) (*web.ReportResp, mir.Error)
- func (s *ReportSrv) UpdateReportStatus(req *web.PatchReportReq) mir.Error
- type ServerResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReportSrv ¶
type ReportSrv struct { api.UnimplementedReportServant *base.DaoServant }
func NewReportSrv ¶
func NewReportSrv(s *base.DaoServant) *ReportSrv
func (*ReportSrv) Chain ¶
func (s *ReportSrv) Chain() gin.HandlersChain
func (*ReportSrv) DeleteReport ¶
func (s *ReportSrv) DeleteReport(req *web.DeleteReportReq) (*web.ReportResp, mir.Error)
func (*ReportSrv) ListReported ¶
func (s *ReportSrv) ListReported() (*web.ListReportResp, mir.Error)
func (*ReportSrv) SendReport ¶
func (s *ReportSrv) SendReport(req *web.ReportReq) (*web.ReportResp, mir.Error)
func (*ReportSrv) UpdateReportStatus ¶
func (s *ReportSrv) UpdateReportStatus(req *web.PatchReportReq) mir.Error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.