-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
107 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
package archive | ||
|
||
type RuntimeInfoItem struct { | ||
Name string `json:"name"` | ||
Value string `json:"value"` | ||
// Name holds the name of the item/attribute. | ||
Name string `json:"name"` | ||
// Value holds the value of the item/attribute. | ||
Value string `json:"value"` | ||
// Config is a optional field containing extra config information from the item. | ||
Config string `json:"config,omitempty"` | ||
Time string `json:"time,omitempty"` | ||
Total string `json:"total,omitempty"` | ||
Delta string `json:"delta,omitempty"` | ||
// Time is a optional field with the timestamp in the datetime format. | ||
Time string `json:"time,omitempty"` | ||
// Total is a optional field with the calculation of total time the item take. | ||
Total string `json:"total,omitempty"` | ||
// Detal is a optional field with the calculation of difference between two timers. | ||
Delta string `json:"delta,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters