Bump dependency github.com/godbus/dbus@v19 (2ff6f7ffd60f)

This commit is contained in:
Odin Ugedal
2019-10-05 14:37:48 +02:00
parent c07408380d
commit 42d1238962
23 changed files with 768 additions and 293 deletions

View File

@@ -87,3 +87,13 @@ type SignalHandler interface {
type DBusError interface {
DBusError() (string, []interface{})
}
// SerialGenerator is responsible for serials generation.
//
// Different approaches for the serial generation can be used,
// maintaining a map guarded with a mutex (the standard way) or
// simply increment an atomic counter.
type SerialGenerator interface {
GetSerial() uint32
RetireSerial(serial uint32)
}