Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
BucketName string
Objects []*Object
// AccessKey is the access key requests must be signed with.
// If empty, requests are not checked for credentials.
AccessKey string
// contains filtered or unexported fields
}
Server is a simple AWS S3 mock server. It serves the provided Objects for the BucketName on the HTTPAddress when Start or StartTLS is called.
func (*Server) HTTPAddress ¶
Click to show internal directories.
Click to hide internal directories.