github.com/hellobchain/third_party@v0.0.0-20230331131523-deb0478a2e52/cloudflare/cfssl/info/info.go (about) 1 // Package info contains the definitions for the info endpoint 2 package info 3 4 // Req is the request struct for an info API request. 5 type Req struct { 6 Label string `json:"label"` 7 Profile string `json:"profile"` 8 } 9 10 // Resp is the response for an Info API request. 11 type Resp struct { 12 Certificate string `json:"certificate"` 13 Usage []string `json:"usages"` 14 ExpiryString string `json:"expiry"` 15 }