20 lines
522 B
Go
20 lines
522 B
Go
package xhttp
|
|
|
|
const (
|
|
xmlVersion = "1.0"
|
|
xmlEncoding = "UTF-8"
|
|
|
|
// BusinessCodeOK represents the business code for success.
|
|
BusinessCodeOK = 200
|
|
// BusinessMsgOk represents the business message for success.
|
|
BusinessMsgOk = "ok"
|
|
|
|
// BusinessCodeError represents the business code for error.
|
|
BusinessCodeError = 500
|
|
|
|
// XmlContentType represents the content type for xml.
|
|
XmlContentType = "application/xml"
|
|
// HTMLContentType represents the content type for html.
|
|
HTMLContentType = "text/html;charset=utf-8"
|
|
)
|