8000 GitHub - hanxi/bun-skynet
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hanxi/bun-skynet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bun-skynet

使用 Bun 实现的 skynet 版本。

Important

此项目仅用于学习使用,请勿用于生产环境。

To install dependencies:

bun install

To run:

bun start ./examples/basic/config.json

This project was created using bun init in bun v1.2.2. Bun is a fast all-in-one JavaScript runtime.

Unit Tests

bun test

测试网关服务

启动服务端

bun start ./examples/gate/config.json

启动客户端

bun run ./examples/gate/echo-client.ts

测试 cluster

启动节点1

bun start ./examples/cluster/config1.json

启动节点2

bun start ./examples/cluster/config2.json

测试 cluster 连接 skynet

启动 skynet 的 cluster

./skynet examples/config.c1

启动节点3

bun start examples/cluster/config3.json

一些思考

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0