co_message

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMessage

func NewMessage[
	TR co_model.IMessageRes,
	TSR co_model.ISendRes,
](modules co_interface.IModules[TR, TSR]) co_interface.IMessage[TR]

FactoryMakeResponseInstance 响应实例工厂方法

func (s *sMessage[TR]) FactoryMakeResponseInstance() TR {
	var ret co_model.IMessageRes
	ret = &co_model.MessageRes{Message: &co_entity.Message{}}
	return ret.(TR)
}

Types

This section is empty.

Jump to

Keyboard shortcuts

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