Add data to objects

This commit is contained in:
Marc Di Luzio 2020-07-19 13:27:29 +01:00
parent e27398dbc0
commit fd0992353d

View file

@ -8,6 +8,9 @@ import (
type Object struct {
// The type of the object
Type roveapi.Object `json:"type"`
// Data is an internal type used for certain types of object
Data []byte `json:"data"`
}
// IsBlocking checks if an object is a blocking object