Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { AccessKeyID string SecretAccessKey string HostURL string AppName string AppVersion string AppComments []string Debug bool // Used for SSL transport layer CertPEM string KeyPEM string }
Config - see http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?RESTAuthentication.html
type HTTPTracer ¶
HTTPTracer provides callback hook mechanism for HTTP transport.
type ObjectAlreadyExists ¶
type ObjectAlreadyExists struct {
Object string
}
ObjectAlreadyExists - typed return for MethodNotAllowed
func (ObjectAlreadyExists) Error ¶
func (e ObjectAlreadyExists) Error() string
type RoundTripTrace ¶
type RoundTripTrace struct { Trace HTTPTracer // User provides callback methods Transport http.RoundTripper // HTTP transport that needs to be intercepted }
RoundTripTrace interposes HTTP transport requests and respsonses using HTTPTracer hooks
func GetNewTraceTransport ¶
func GetNewTraceTransport(trace HTTPTracer, transport http.RoundTripper) RoundTripTrace
GetNewTraceTransport returns a traceable transport
Click to show internal directories.
Click to hide internal directories.