natsio/model/segment_response.go

13 lines
253 B
Go
Raw Normal View History

2022-11-23 03:29:50 +00:00
package model
// ResponseSegmentInfo ...
type ResponseSegmentInfo struct {
ID string `json:"_id"`
Name string `json:"name"`
}
// ResponseListSegmentInfo ...
type ResponseListSegmentInfo struct {
Segments []ResponseSegmentInfo `json:"segments"`
}