软件工具 SofTool.CN 本次搜索耗时 0.211 秒,为您找到 296 个相关结果.
  • 3.4 Zinx-V0.3代码实现

    zinx/znet/server.go package znet import ( "fmt" "net" "time" "zinx/ziface" ) //iServer 接口实现,定义一个Server服务类 type Server struct { //服务器的名称 Nam...
  • 6.2 Zinx-V0.6代码实现

    首先 iserver 的 AddRouter() 的接口要稍微改一下,增添MsgId参数 zinx/ziface/iserver.go package ziface //定义服务器接口 type IServer interface { //启动服务器方法 Start() //停止服务器方法 Stop()...
  • 6.1 创建 消息管理模块 MsgHandle

    A) 创建 消息管理模块 的抽象类 B) 消息管理模块 的实现 A) 创建 消息管理模块 的抽象类 在zinx/ziface下创建 imsghandler.go 文件。 package ziface /* 消息管理抽象层 */ type IMsgHandle interface { DoMsgHandler(request...
  • Pictures of the Tesla Model 3 Hardware

    544 2024-08-01 《Looking for ports》
    Pictures of the Tesla Model 3 MCU board, SD card, HRL and flashing LEDs #3 Pics or it didn’t happen Exploring the content of the SD card Other stuff on the SD card Let’s power ...
  • Looking for ports in a Tesla Model 3

    474 2024-08-01 《Looking for ports》
    Looking for ports in a Tesla Model 3 #1 ssh ? access ? everywhere ? So what’s going on at this Ethernet port? Next steps Looking for ports in a Tesla Model 3 #1 A few weeks ...
  • Go 字符编码

    421 2024-07-15 《Go 语言》
    一文彻底搞定字符编码
  • 用法

    406 2025-01-15 《Editor.md》
    创建一个 Markdown 编辑器 Markdown 转 HTML 选项 Options 创建一个 Markdown 编辑器 <link rel ="stylesheet" href ="editor.md/css/editormd.min.css" /> <div id ="editor" > <!-- Tips: Edit...
  • mahonia

    358 2024-07-15 《Go 语言》
    ANSI的解码与编码 UCS2的解码与编码 UTF-8的编码与解码 用到的外部包: "github.com/axgle/mahonia" ANSI的解码与编码 未解码内容示例: C4E3BAC3D1BDA3ACBAC3BFAAD0C4A3A1 解码之后内容: 你好呀,好开心! 解码代码: func Ansi2String (asc...
  • 协议开发

    341 2025-02-04 《OCPP学习日记》
    认证 boot_notification 心跳 认证 认证报文如下: [2,“3VFfYCu5ZFP7ZHhDKvRoYUMqFeM8jFDxBkuE”,“Authorize”,{“idTag”:“FFFFFFFEEEEEEEEE”}] [3,“3VFfYCu5ZFP7ZHhDKvRoYUMqFeM8jFDxBkuE”,{“idTagInfo...
  • 常见数据类型

    基础数据类型 (1) 整数类型 (2) 浮点类型 (3) 布尔类型 (4) 字符和字符串 指针和内存管理 容器和数据结构 (1) 动态数组(GArray) (2) 链表(GSList, GList) (3) 哈希表(GHashTable) GTK 对象类型 信号和事件相关类型 在 GTK 2 中,数据类型主要基于 GLib(GTK ...