Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for APPLICATION (0.66 sec)

  1. cmd/api-response.go

    const (
    	// Means no response type.
    	mimeNone mimeType = ""
    	// Means response type is JSON.
    	mimeJSON mimeType = "application/json"
    	// Means response type is XML.
    	mimeXML mimeType = "application/xml"
    )
    
    // writeSuccessResponseJSON writes success headers and response if any,
    // with content-type set to `application/json`.
    func writeSuccessResponseJSON(w http.ResponseWriter, response []byte) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
Back to top