🏗️ microservice fabric splitting
This commit is contained in:
19
common/xhttp/vars.go
Normal file
19
common/xhttp/vars.go
Normal file
@@ -0,0 +1,19 @@
|
||||
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"
|
||||
)
|
Reference in New Issue
Block a user