natsio/model/segment_response.go

13 lines
253 B
Go
Raw Permalink Normal View History

2022-11-21 22:43:02 +00:00
package model
// ResponseSegmentInfo ...
type ResponseSegmentInfo struct {
ID string `json:"_id"`
Name string `json:"name"`
}
// ResponseListSegmentInfo ...
type ResponseListSegmentInfo struct {
Segments []ResponseSegmentInfo `json:"segments"`
}