internal

package
v0.0.0-...-264dbbd Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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)

消息列表

Jump to

Keyboard shortcuts

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