Documentation ¶
Index ¶
- type ProtocolManageServer
- func (s *ProtocolManageServer) ProtocolInfoCreate(ctx context.Context, in *dm.ProtocolInfo) (*dm.WithID, error)
- func (s *ProtocolManageServer) ProtocolInfoDelete(ctx context.Context, in *dm.WithID) (*dm.Empty, error)
- func (s *ProtocolManageServer) ProtocolInfoIndex(ctx context.Context, in *dm.ProtocolInfoIndexReq) (*dm.ProtocolInfoIndexResp, error)
- func (s *ProtocolManageServer) ProtocolInfoRead(ctx context.Context, in *dm.WithIDCode) (*dm.ProtocolInfo, error)
- func (s *ProtocolManageServer) ProtocolInfoUpdate(ctx context.Context, in *dm.ProtocolInfo) (*dm.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtocolManageServer ¶
type ProtocolManageServer struct { dm.UnimplementedProtocolManageServer // contains filtered or unexported fields }
func NewProtocolManageServer ¶
func NewProtocolManageServer(svcCtx *svc.ServiceContext) *ProtocolManageServer
func (*ProtocolManageServer) ProtocolInfoCreate ¶
func (s *ProtocolManageServer) ProtocolInfoCreate(ctx context.Context, in *dm.ProtocolInfo) (*dm.WithID, error)
协议创建
func (*ProtocolManageServer) ProtocolInfoDelete ¶
func (s *ProtocolManageServer) ProtocolInfoDelete(ctx context.Context, in *dm.WithID) (*dm.Empty, error)
协议删除
func (*ProtocolManageServer) ProtocolInfoIndex ¶
func (s *ProtocolManageServer) ProtocolInfoIndex(ctx context.Context, in *dm.ProtocolInfoIndexReq) (*dm.ProtocolInfoIndexResp, error)
协议列表
func (*ProtocolManageServer) ProtocolInfoRead ¶
func (s *ProtocolManageServer) ProtocolInfoRead(ctx context.Context, in *dm.WithIDCode) (*dm.ProtocolInfo, error)
协议详情
func (*ProtocolManageServer) ProtocolInfoUpdate ¶
func (s *ProtocolManageServer) ProtocolInfoUpdate(ctx context.Context, in *dm.ProtocolInfo) (*dm.Empty, error)
协议更新
Click to show internal directories.
Click to hide internal directories.