Documentation ¶
Index ¶
- func Message[TIRes co_model.IMessageRes, TISRes co_model.ISendRes](modules co_interface.IModules[TIRes, TISRes]) i_controller.IMessage[TIRes]
- func Send[TIRes co_model.IMessageRes, TISRes co_model.ISendRes](modules co_interface.IModules[TIRes, TISRes]) i_controller.ISend[TISRes]
- type MessageController
- func (c *MessageController[TIRes, TISRes]) CreateMessage(ctx context.Context, req *co_message_send_v1.SetMessageInfoReq) (api_v1.BoolRes, error)
- func (c *MessageController[TIRes, TISRes]) QueryMessageList(ctx context.Context, req *co_message_send_v1.GetMessageListReq) (*base_model.CollectRes[TIRes], error)
- type SendController
- func (c *SendController[TIRes, TISRes]) CreateSend(ctx context.Context, req *co_message_send_v1.CreateSendReq) (api_v1.BoolRes, error)
- func (c *SendController[TIRes, TISRes]) QuerySendInfoList(ctx context.Context, req *co_message_send_v1.GetSendInfoListReq) (*base_model.CollectRes[TISRes], error)
- func (c *SendController[TIRes, TISRes]) SetSendInfoAction(ctx context.Context, req *co_message_send_v1.SetSendActionReq) (api_v1.BoolRes, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Message ¶
func Message[ TIRes co_model.IMessageRes, TISRes co_model.ISendRes, ](modules co_interface.IModules[TIRes, TISRes]) i_controller.IMessage[TIRes]
func Send ¶
func Send[ TIRes co_model.IMessageRes, TISRes co_model.ISendRes, ](modules co_interface.IModules[TIRes, TISRes]) i_controller.ISend[TISRes]
Types ¶
type MessageController ¶
type MessageController[ TIRes co_model.IMessageRes, TISRes co_model.ISendRes, ] struct { i_controller.IMessage[TIRes] // contains filtered or unexported fields }
func (*MessageController[TIRes, TISRes]) CreateMessage ¶
func (c *MessageController[TIRes, TISRes]) CreateMessage(ctx context.Context, req *co_message_send_v1.SetMessageInfoReq) (api_v1.BoolRes, error)
GetCompanyById 通过ID获取公司信息
func (*MessageController[TIRes, TISRes]) QueryMessageList ¶
func (c *MessageController[TIRes, TISRes]) QueryMessageList(ctx context.Context, req *co_message_send_v1.GetMessageListReq) (*base_model.CollectRes[TIRes], error)
消息列表
type SendController ¶
type SendController[ TIRes co_model.IMessageRes, TISRes co_model.ISendRes, ] struct { i_controller.ISend[TISRes] // contains filtered or unexported fields }
func (*SendController[TIRes, TISRes]) CreateSend ¶
func (c *SendController[TIRes, TISRes]) CreateSend(ctx context.Context, req *co_message_send_v1.CreateSendReq) (api_v1.BoolRes, error)
func (*SendController[TIRes, TISRes]) QuerySendInfoList ¶
func (c *SendController[TIRes, TISRes]) QuerySendInfoList(ctx context.Context, req *co_message_send_v1.GetSendInfoListReq) (*base_model.CollectRes[TISRes], error)
发送规则列表
func (*SendController[TIRes, TISRes]) SetSendInfoAction ¶
func (c *SendController[TIRes, TISRes]) SetSendInfoAction(ctx context.Context, req *co_message_send_v1.SetSendActionReq) (api_v1.BoolRes, error)
消息列表
Click to show internal directories.
Click to hide internal directories.