Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AssetsServerHeaderKeyName = "ASSETS_SERVER_KEY"
用于保证链接的安全的请求头(header)key名称
View Source
var AssetsServerHeaderKeyValue string
用于保证链接的安全的key值
这里简单的在请求所有资源时增加请求头的判断
不为空时生效
Functions ¶
func NewAssetsHttpServer ¶
func NewAssetsHttpServer() *assetsHttpServer
Types ¶
Click to show internal directories.
Click to hide internal directories.