书栈网 · BookStack 本次搜索耗时 0.039 秒,为您找到 1882 个相关结果.
  • Leaf timer

    Leaf timer Leaf timer Go 语言标准库提供了定时器的支持: func AfterFunc ( d Duration , f func ()) * Timer AfterFunc 会等待 d 时长后调用 f 函数,这里的 f 函数将在另外一个 goroutine 中执行。Leaf 提供了一个相同的 After...
  • Leaf Nodes

    Leaf Nodes LeafNode Configuration Tutorial Leaf Node Example Using a Remote Global Service Leaf Authorization Leaf Nodes A Leaf Node extends an existing NATS system of any si...
  • Leaf Nodes

    Leaf Nodes LeafNode Configuration Tutorial Leaf Node Example Using a Remote Global Service Leaf Authorization Leaf Nodes A Leaf Node extends an existing NATS system of any s...
  • Leaf Nodes

    Leaf Nodes LeafNode Configuration Tutorial Leaf Node Example Using a Remote Global Service Leaf Authorization Leaf Nodes A Leaf Node extends an existing NATS system of any si...
  • Leaf ChanRPC

    Leaf ChanRPC Leaf ChanRPC 由于 Leaf 中,每个模块跑在独立的 goroutine 上,为了模块间方便的相互调用就有了基于 channel 的 RPC 机制。一个 ChanRPC 需要在游戏服务器初始化的时候进行注册(注册过程不是 goroutine 安全的),例如 LeafServer 中 game 模块注册了 NewA...
  • Hello Leaf

    Hello Leaf Hello Leaf 现在,在 LeafServer 的基础上,我们来看看游戏服务器如何接收和处理网络消息。 首先定义一个 JSON 格式的消息(protobuf 类似)。打开 LeafServer msg/msg.go 文件可以看到如下代码: package msg   import ( "githu...
  • Leaf Nodes

    Leaf Nodes LeafNode Configuration Tutorial Leaf Node Example Using a Remote Global Service Leaf Authorization Leaf Nodes A Leaf Node extends an existing NATS system of any si...
  • Leaf recordfile

    Leaf recordfile Leaf recordfile Leaf 的 recordfile 是基于 CSV 格式(范例见这里 )。recordfile 用于管理游戏配置数据。在 LeafServer 中使用 recordfile 非常简单: 将 CSV 文件放置于 bin/gamedata 目录中 在 gamedata 模块中调用函数 r...
  • Leaf futures

    Leaf futures Leaf futures This page has not been worked on yet. If you’d like to contribute visit the doc-push repo. Next up : Runtime model
  • Leaf Nodes

    description: Using JetStream on Leaf Nodes Leaf Nodes Configuration accounts.conf Imported by Both Servers hub.conf leaf.conf Usage Copying across domains via source or mi...