Merge pull request #36 from wansir/master

add response struct
This commit is contained in:
不羁
2018-05-31 01:14:09 -05:00
committed by GitHub

View File

@@ -16,13 +16,15 @@ limitations under the License.
package constants
type ResultMessage struct {
Data interface{} `json:"data"`
type MessageResponse struct {
Message string `json:"message"`
}
const APIVERSION = "v1alpha"
type PageableResponse struct {
Items []interface{} `json:"items"`
TotalCount int `json:"total_count"`
}
const APIVERSION = "v1alpha1"
const KIND = "kubesphere"