RequestHandler

package
v0.0.0-...-0e166a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XML_HEADER           = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
	ERROR_HEADER_TOP     = "<Error>"
	ERROR_HEADER_END     = "</Error>"
	MESSAGE_HEADER_TOP   = "<Message>"
	MESSAGE_HEADER_END   = "</Message>"
	RESOURCE_HEADER_TOP  = "<Resource>"
	RESOURCE_HEADER_END  = "</Resource>"
	REQUESTID_HEADER_TOP = "<Request>"
	REQUESTID_HEADER_END = "</Request>"
)
View Source
const (
	ERROR_MESSAGE_NOT_ACL_SUPPOTED                 = "AccessControlListNotSupported"
	ERROR_MESSAGE_ACCESS_DENIED                    = "AccessDenied"
	ERROR_MESSAGE_ACCESSPOINT_ALREADY_OWNED_BY_YOU = "AccessPointAlreadyOwnedByYou"
	ERROR_MESSAGE_ACCOUNT_PROBLEM                  = "AccountProblem"
	ERROR_MESSAGE_ALLACCESS_DISABLED               = "AllAccessDisabled"
	ERROR_MESSAGE_AMBIGUOUS_GRANT_BY_EMAILADDRESS  = "AmbiguousGrantByEmailAddress"
	ERROR_MESSAGE_AUTHORIZATION_HEADER_MALFORMED   = "AuthorizationHeaderMalformed"
	ERROR_MESSAGE_BADDIGEST                        = "BadDigest"
	ERROR_MESSAGE_BUCKET_ALREADY_EXISTS            = "BucketAlreadyExists"
)

Variables

This section is empty.

Functions

func ErrorHandle

func ErrorHandle()

func Handler

func Handler(w http.ResponseWriter, Request *http.Request)

func Permission_Check

func Permission_Check()

func RequestHeaderCheck

func RequestHeaderCheck(Request http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL