20 lines
338 B
Go
20 lines
338 B
Go
package models
|
|
|
|
import "net/http"
|
|
|
|
const (
|
|
VersionKey string = "DB_VERSION"
|
|
InstanceKey string = "INSTANCE_ID"
|
|
EditionKey string = "EDITION"
|
|
UpdatingKey string = "DB_UPDATING"
|
|
)
|
|
|
|
type Version struct {
|
|
Key string `json:"Key"`
|
|
Value string `json:"Value"`
|
|
}
|
|
|
|
func (r *Version) Validate(request *http.Request) error {
|
|
return nil
|
|
}
|