Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeployClientVersionNotSupported ¶
type DeployClientVersionNotSupported struct{}
DeployClientVersionNotSupported 不支持的客户端版本
type DeployFile ¶
type DeployFile struct { DeployFileKey Contents []byte // in the initial CommandDeploy, this is nil }
DeployFile 发布文件的内容
type DeployFileKey ¶
type DeployFileKey struct { Type DeployFileType Hash string // sha1 hash of contents }
DeployFileKey 发布文件的值
type DeployFileType ¶
type DeployFileType string
DeployFileType 发布文件类型
const ( DeployFileTypeIndex DeployFileType = "index" DeployFileTypeLoader DeployFileType = "loader" DeployFileTypeWasm DeployFileType = "wasm" )
文件类型
type DeployQuery ¶
type DeployQuery struct { Version string Files []DeployFileKey }
DeployQuery 发布队列
type DeployQueryResponse ¶
type DeployQueryResponse struct {
Required []DeployFileKey
}
DeployQueryResponse 返回队列
Click to show internal directories.
Click to hide internal directories.