12345678910111213141516171819202122232425262728293031 |
- package rest
- type (
- ListResponse struct {
- Page int `json:"page"`
- PageSize int `json:"pagesize"`
- TotalCount int64 `json:"totalCount"`
- Data interface{} `json:"data"`
- }
- ValidateResponse struct {
- }
- CreateResponse struct {
- ID interface{} `json:"id"`
- Topic string `json:"topic"`
- State string `json:"state"`
- }
- UpdateResponse struct {
- ID interface{} `json:"id"`
- Topic string `json:"topic"`
- State string `json:"state"`
- }
- DeleteResponse struct {
- ID interface{} `json:"id"`
- Topic string `json:"topic"`
- State string `json:"state"`
- }
- )
|