Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

github.com/surasithaof/eventbus

Package Overview
Dependencies
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/surasithaof/eventbus

Source
Go Modules
Version
v0.0.0-20250415144126-68d750cdcff5
Version published
Created
Source

EventBus

Go Report Card Go Reference license

A simple Go package for implementing an internal async event bus. This is for learning Goroutine to handle asynchronous event publishing and subscription, making it efficient and easy to integrate with Go apps.

Benchmark

go test -benchtime 10000000x -benchmem -run=^$ -bench=.
goos: darwin
goarch: arm64
pkg: github.com/surasithaof/eventbus
cpu: Apple M1
BenchmarkSubscribe-8    10000000                57.72 ns/op           42 B/op          0 allocs/op
BenchmarkPublish-8      10000000               406.3 ns/op            96 B/op          2 allocs/op
PASS
ok      github.com/surasithaof/eventbus 4.909s

FAQs

Package last updated on 15 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts