20 lines
498 B
Go
20 lines
498 B
Go
// Package consts
|
|
// @Link https://github.com/bufanyun/hotgo
|
|
// @Copyright Copyright (c) 2023 HotGo CLI
|
|
// @Author Ms <133814250@qq.com>
|
|
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
|
package consts
|
|
|
|
const (
|
|
HTTPContentTypeXml = "text/xml"
|
|
HTTPContentTypeHtml = "text/html"
|
|
HTTPContentTypeStream = "text/event-stream"
|
|
HTTPContentTypeJson = "application/json"
|
|
HTTPContentTypeCustom = "custom"
|
|
)
|
|
|
|
const (
|
|
ApiStatusOk = 200
|
|
ApiStatusTokenOverdue = 886
|
|
)
|