Documentation ¶
Index ¶
- type Service
- func (s *Service) Close()
- func (s *Service) CreateSysMsg(ctx context.Context, req *v1.SysMsg) (res *empty.Empty, err error)
- func (s *Service) ListSysMsg(ctx context.Context, req *v1.ListSysMsgReq) (res *v1.ListSysMsgReply, err error)
- func (s *Service) Ping(ctx context.Context) (err error)
- func (s *Service) UpdateSysMsg(ctx context.Context, req *v1.SysMsg) (res *empty.Empty, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct
func (*Service) CreateSysMsg ¶
CreateSysMsg 创建消息
func (*Service) ListSysMsg ¶
func (s *Service) ListSysMsg(ctx context.Context, req *v1.ListSysMsgReq) (res *v1.ListSysMsgReply, err error)
ListSysMsg 获取系统通知
Click to show internal directories.
Click to hide internal directories.