Documentation ¶
Index ¶
- Variables
- func GetHTTPRequest(ctx context.Context) *http.Request
- func GetHTTPResponse(ctx context.Context) http.ResponseWriter
- func MakeFileHeader(name string, dateBytes []byte) (*multipart.FileHeader, error)
- func WithHTTPResReqContext(ctx context.Context, req *http.Request, res http.ResponseWriter) context.Context
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HTTPRequestContextKey requestContextKey = "http_request" HTTPResponseContextKey requestContextKey = "http_response" )
Functions ¶
func GetHTTPResponse ¶
func GetHTTPResponse(ctx context.Context) http.ResponseWriter
func MakeFileHeader ¶
func MakeFileHeader(name string, dateBytes []byte) (*multipart.FileHeader, error)
func WithHTTPResReqContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.