V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
KevinBlandy
V2EX  ›  问与答

Go 轻量级事件总线框架,你们都用啥?

  •  
  •   KevinBlandy · Jul 22, 2022 · 1232 views
    This topic created in 1381 days ago, the information mentioned may be changed or developed.

    小应用,有些地方打算用事件发布 /订阅来实现一些功能,类似于SpringApplicationEvent

    在 Github 找了一个比较热门的:

    https://github.com/asaskevich/EventBus

    但是很久没维护了,而且很多 issues 也没处理,怕有坑。

    还有其他推荐的吗?

    1 replies    2022-07-22 19:19:33 +08:00
    tairan2006
        1
    tairan2006  
       Jul 22, 2022 via Android
    其实你用 channel 自己封装一下就行…
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   977 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 18:04 · PVG 02:04 · LAX 11:04 · JFK 14:04
    ♥ Do have faith in what you're doing.