Add data to objects
This commit is contained in:
parent
e27398dbc0
commit
fd0992353d
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@ import (
|
||||||
type Object struct {
|
type Object struct {
|
||||||
// The type of the object
|
// The type of the object
|
||||||
Type roveapi.Object `json:"type"`
|
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
|
// IsBlocking checks if an object is a blocking object
|
||||||
|
|
Loading…
Add table
Reference in a new issue