1 Star 0 Fork 0

Cloudy/vnc2video

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
securitytype_string.go 735 Bytes
一键复制 编辑 原始数据 按行查看 历史
amit bezalel 提交于 2018-01-12 04:56 . name change now: vnc2video,
// Code generated by "stringer -type=SecurityType"; DO NOT EDIT.
package vnc2video
import "fmt"
const (
_SecurityType_name_0 = "SecTypeUnknownSecTypeNoneSecTypeVNC"
_SecurityType_name_1 = "SecTypeTight"
_SecurityType_name_2 = "SecTypeVeNCrypt"
)
var (
_SecurityType_index_0 = [...]uint8{0, 14, 25, 35}
_SecurityType_index_1 = [...]uint8{0, 12}
_SecurityType_index_2 = [...]uint8{0, 15}
)
func (i SecurityType) String() string {
switch {
case 0 <= i && i <= 2:
return _SecurityType_name_0[_SecurityType_index_0[i]:_SecurityType_index_0[i+1]]
case i == 16:
return _SecurityType_name_1
case i == 19:
return _SecurityType_name_2
default:
return fmt.Sprintf("SecurityType(%d)", i)
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/itcloudy/vnc2video.git
git@gitee.com:itcloudy/vnc2video.git
itcloudy
vnc2video
vnc2video
master

搜索帮助