server

package
v0.10.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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 (*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)

协议更新

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL