godbus/dbus

GitHub: godbus/dbus

该项目为 Go 语言提供了 D-Bus 消息总线系统的原生绑定,解决了 Go 程序与 Linux/Unix 系统服务之间进行进程间通信的需求。

Stars: 1183 | Forks: 247

## dbus dbus 是一个简单的库,它为 D-Bus 消息总线系统实现了原生 Go 客户端绑定。 ### 功能 * 完整实现了 D-Bus 消息协议的原生实现 * 类 Go 的 API(使用 channel 处理信号/异步方法调用,连接对 Goroutine 安全) * 辅助内省/属性接口的子包 ### 用法 完整的包文档和一些简单示例可在 [pkg.go.dev](https://pkg.go.dev/github.com/godbus/dbus/v5) 找到。此外, [\_examples](https://github.com/godbus/dbus/tree/master/_examples) 目录 简要概述了基本用法。 #### 使用 godbus 的项目 - [bluetooth](https://github.com/tinygo-org/bluetooth):适用于 Go 和 TinyGo 的跨平台蓝牙 API。 - [fyne](https://github.com/fyne-io/fyne):受 Material Design 启发的 Go 跨平台 GUI。 - [fynedesk](https://github.com/fyne-io/fynedesk):使用 Fyne 为 Linux/Unix 打造的完整桌面环境。 - [go-systemd](https://github.com/coreos/go-systemd):systemd 的 Go 绑定。 - [notify](https://github.com/esiqveland/notify) 提供了一个通过 dbus 发送桌面通知的库。 请注意,目前该 API 被认为尚不稳定,并且可能会在事先无通知的情况下发生更改。 ### 许可证 该库基于 Simplified BSD License 提供;完整文本请参见 LICENSE。 该库的绝大部分功劳都归于 https://github.com/guelfey。
标签:EVTX分析, 日志审计