MCPcopy
hub / github.com/name5566/leaf

github.com/name5566/leaf @1.1.3 sqlite

repository ↗ · DeepWiki ↗ · release 1.1.3 ↗
299 symbols 674 edges 40 files 63 documented · 21%
README

Leaf

A pragmatic game server framework in Go (golang).

Features

  • Extremely easy to use
  • Reliable
  • Multicore support
  • Modularity

Community

  • QQ 群:376389675

Documentation

Licensing

Leaf is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Extension points exported contracts — how you extend this code

Command (Interface)
(no doc) [4 implementers]
console/command.go
Conn (Interface)
(no doc) [2 implementers]
network/conn.go
Processor (Interface)
(no doc) [2 implementers]
network/processor.go
Agent (Interface)
(no doc) [1 implementers]
network/agent.go
Agent (Interface)
(no doc) [1 implementers]
gate/agent.go
Module (Interface)
(no doc)
module/module.go
MsgHandler (FuncType)
(no doc)
network/protobuf/protobuf.go
MsgHandler (FuncType)
(no doc)
network/json/json.go

Core symbols most depended-on inside this repo

Error
called by 24
log/log.go
Release
called by 23
log/log.go
Fatal
called by 23
log/log.go
Close
called by 19
network/conn.go
Close
called by 18
gate/agent.go
Debug
called by 11
log/log.go
Set
called by 9
util/map.go
Go
called by 8
go/go.go

Shape

Method 185
Function 60
Struct 41
Interface 6
TypeAlias 5
FuncType 2

Languages

Go100%

Modules by API surface

chanrpc/chanrpc.go29 symbols
console/command.go24 symbols
db/mongodb/mongodb.go17 symbols
util/map.go14 symbols
network/protobuf/protobuf.go14 symbols
log/log.go14 symbols
network/tcp_conn.go13 symbols
network/json/json.go12 symbols
network/ws_conn.go11 symbols
gate/gate.go11 symbols
module/skeleton.go10 symbols
module/module.go10 symbols

For agents

$ claude mcp add leaf \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact