blob: 05367e2483f954aa1a20c929d0d759f78326054b [file] [log] [blame]
Jon Perrittb5c78122014-10-15 20:44:39 -05001package cdncontainers
2
Jon Perritt10a7ec12014-10-27 11:29:33 -05003import (
4 "net/http"
5
6 "github.com/rackspace/gophercloud"
7)
8
9type headerResult struct {
10 gophercloud.Result
11}
12
13func (hr headerResult) ExtractHeader() (http.Header, error) {
14 return hr.Header, hr.Err
15}
Jon Perrittb5c78122014-10-15 20:44:39 -050016
17// EnableResult represents the result of a get operation.
18type EnableResult struct {
Jon Perritt10a7ec12014-10-27 11:29:33 -050019 headerResult
Jon Perrittb5c78122014-10-15 20:44:39 -050020}