Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetErrBody ¶
GetErrBody returns the body written for the given error response. This method should be exclusively used for testing.
func GetErrHeaders ¶
GetErrHeaders returns the headers written for the given error response. This method should be exclusively used for testing.
func GetErrStatus ¶
GetErrStatus returns the status code contained within the given error response. This method should be exclusively used for testing.
func GetResBody ¶
GetResBody returns the body written for the given response. This method should be exclusively used for testing.
func GetResData ¶
GetResData returns the data contained in the given response. This requires the res to have been created via sapi.Data, otherwise nil is returned.
func GetResHeaders ¶
GetResHeaders returns the headers written for the given response. This method should be exclusively used for testing.
func GetResStatus ¶
GetResStatus returns the status code contained within the given response. This method should be exclusively used for testing.
Types ¶
This section is empty.