add stream -json
This commit is contained in:
parent
b6d4c40dd6
commit
e7f2469bc0
3 changed files with 27 additions and 13 deletions
|
@ -14,7 +14,9 @@ import (
|
|||
)
|
||||
|
||||
// UpdateEvent is struct for passing status event to app.
|
||||
type UpdateEvent struct{ Status *Status }
|
||||
type UpdateEvent struct {
|
||||
Status *Status `json:"status"`
|
||||
}
|
||||
|
||||
func (e *UpdateEvent) event() {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue