Documentation ¶
Index ¶
- type SvcHandler
- func (e *SvcHandler) AddSvc(ctx context.Context, info *svc.SvcInfo, rsp *svc.Response) error
- func (e *SvcHandler) DeleteSvc(ctx context.Context, req *svc.SvcId, rsp *svc.Response) error
- func (e *SvcHandler) FindAllSvc(ctx context.Context, req *svc.FindAll, rsp *svc.AllSvc) error
- func (e *SvcHandler) FindSvcByID(ctx context.Context, req *svc.SvcId, rsp *svc.SvcInfo) error
- func (e *SvcHandler) UpdateSvc(ctx context.Context, req *svc.SvcInfo, rsp *svc.Response) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SvcHandler ¶
type SvcHandler struct { //注意这里的类型是 ISvcDataService 接口类型 SvcDataService service.ISvcDataService }
func (*SvcHandler) AddSvc ¶
Call is a single request handler called via client.Call or the generated client code
func (*SvcHandler) FindAllSvc ¶
查找所有服务
func (*SvcHandler) FindSvcByID ¶
服务查找
Click to show internal directories.
Click to hide internal directories.