Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectNatsFramework ¶
func InjectNatsFramework(s *NatsFramework)
func LoadNatsFramework ¶
func LoadNatsFramework() baseiface.ISingleton
Types ¶
type NatsFramework ¶
type NatsFramework struct { basedto.BaseEntitySingle // contains filtered or unexported fields }
https://zhuanlan.zhihu.com/p/657692373 NatsFramework 是一个基于Go语言实现的事件框架, 利用channel进行消息的发送和接收,具备一定的并发处理能力。
func NewEventFramework ¶
func NewEventFramework() *NatsFramework
func (*NatsFramework) Recv ¶
func (this *NatsFramework) Recv()
func (*NatsFramework) Send ¶
func (this *NatsFramework) Send()
Click to show internal directories.
Click to hide internal directories.