stream.go 287 B

12345678910111213
  1. package dtos
  2. import "encoding/json"
  3. type StreamMessage struct {
  4. Stream string `json:"stream"`
  5. Series []StreamMessageSeries `json:"series"`
  6. }
  7. type StreamMessageSeries struct {
  8. Name string `json:"name"`
  9. Datapoints [][]json.Number `json:"datapoints"`
  10. }