Jon Perritt | b5c7812 | 2014-10-15 20:44:39 -0500 | [diff] [blame] | 1 | package cdncontainers |
| 2 | |
Jon Perritt | 10a7ec1 | 2014-10-27 11:29:33 -0500 | [diff] [blame^] | 3 | import ( |
| 4 | "net/http" |
| 5 | |
| 6 | "github.com/rackspace/gophercloud" |
| 7 | ) |
| 8 | |
| 9 | type headerResult struct { |
| 10 | gophercloud.Result |
| 11 | } |
| 12 | |
| 13 | func (hr headerResult) ExtractHeader() (http.Header, error) { |
| 14 | return hr.Header, hr.Err |
| 15 | } |
Jon Perritt | b5c7812 | 2014-10-15 20:44:39 -0500 | [diff] [blame] | 16 | |
| 17 | // EnableResult represents the result of a get operation. |
| 18 | type EnableResult struct { |
Jon Perritt | 10a7ec1 | 2014-10-27 11:29:33 -0500 | [diff] [blame^] | 19 | headerResult |
Jon Perritt | b5c7812 | 2014-10-15 20:44:39 -0500 | [diff] [blame] | 20 | } |