natsdemo

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 7 Imported by: 0

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 FindBeanNatsFramework

func FindBeanNatsFramework() *NatsFramework

FindBeanNatsFramework

func NewEventFramework

func NewEventFramework() *NatsFramework

func (*NatsFramework) Recv

func (this *NatsFramework) Recv()

func (*NatsFramework) Send

func (this *NatsFramework) Send()

Jump to

Keyboard shortcuts

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