github.com/naphatkrit/deis@v1.12.3/client/controller/api/domains.go (about)

     1  package api
     2  
     3  // Domain is the structure of the domain object.
     4  type Domain struct {
     5  	App     string `json:"app"`
     6  	Created string `json:"created"`
     7  	Domain  string `json:"domain"`
     8  	Owner   string `json:"owner"`
     9  	Updated string `json:"updated"`
    10  }
    11  
    12  // DomainCreateRequest is the structure of POST /v1/app/<app id>/domains/.
    13  type DomainCreateRequest struct {
    14  	Domain string `json:"domain"`
    15  }