MCPcopy
hub / github.com/TarsCloud/TarsGo

github.com/TarsCloud/TarsGo @v1.4.6 sqlite

repository ↗ · DeepWiki ↗ · release v1.4.6 ↗
1,689 symbols 5,602 edges 194 files 949 documented · 56%
README

TarsGo

English | 简体中文 - 文档主页:https://doc.tarsyun.com/ - Twitter: @TarsCloud - Mailing List - 官网 - 新闻 - QQ 技术交流群群:515945105, 579079160(满), 669339903(满) - 微信公众号: TarsCloud - 微信 ID: TARS01 - 联系我们

关于

  • TarsGo是基于Golang编程语言使用Tars协议的高性能RPC框架。随着docker,k8s,etcd等容器化技术的兴起,Go语言变得流行起来。Go的goroutine并发机制使Go非常适合用于大规模高并发后端服务程序的开发。 Go语言具有接近C/C++的性能和接近python的生产力。在腾讯,一部分现有的C++开发人员正逐渐向Go转型,Tars作为广泛使用的RPC框架,现已支持C++/Java/Nodejs/Php,其与Go语言的结合已成为大势所趋。因此,在广大用户的呼声中我们推出了Tarsgo,并且已经将它应用于腾讯地图、应用宝、互联网+以及其他项目中。
  • 关于Tars的整体架构和设计理念,请阅读 Tars官方文档

快速开始

请查看相关文档

如何贡献

请先阅读说明文档

Extension points exported contracts — how you extend this code

ProxyPrx (Interface)
ProxyPrx interface [10 implementers]
tars/communicator.go
ReportMethod (Interface)
ReportMethod is the interface for all kinds of report methods. [6 implementers]
tars/propertyf.go
TarsStructIF (Interface)
(no doc) [24 implementers]
tars/protocol/tup/tup.go
ServerProtocol (Interface)
ServerProtocol is interface for handling the server side tars package. [4 implementers]
tars/transport/common.go
LogWriter (Interface)
LogWriter is interface for different writer. [4 implementers]
tars/util/rogger/logwriter.go
Selector (Interface)
(no doc) [4 implementers]
tars/selector/selector.go
EndpointManager (Interface)
EndpointManager interface of naming system [1 implementers]
tars/endpointmanager.go
Registrar (Interface)
Registrar is service registrar. [1 implementers]
tars/registry/registry.go

Core symbols most depended-on inside this repo

P
called by 324
tars/tools/tars2go/gencode/gen_go.go
Errorf
called by 301
tars/util/rogger/logger.go
WriteString
called by 190
tars/protocol/codec/codec.go
WriteInt32
called by 162
tars/protocol/codec/codec.go
ReadString
called by 153
tars/protocol/codec/codec.go
WriteHead
called by 150
tars/protocol/codec/codec.go
ToBytes
called by 148
tars/protocol/codec/codec.go
Reset
called by 115
tars/protocol/codec/codec.go

Shape

Method 999
Function 454
Struct 161
Interface 39
TypeAlias 19
FuncType 17

Languages

Go100%

Modules by API surface

tars/protocol/codec/codec.go62 symbols
tars/propertyf.go60 symbols
tars/protocol/res/authf/AuthF.go56 symbols
tars/tools/tars2go/gencode/gen_go.go53 symbols
tars/util/rogger/logger.go49 symbols
tars/protocol/res/configf/Config.tars.go49 symbols
tars/filter.go40 symbols
tars/protocol/res/queryf/QueryF.tars.go39 symbols
tars/util/conf/conf.go34 symbols
tars/tools/tarsgo/internal/bindata/bindata.go34 symbols
tars/util/trace/trace.go33 symbols
tars/util/current/tarscurrent.go33 symbols

Dependencies from manifests, versioned

github.com/AlecAivazis/survey/v2v2.2.15 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/bytedance/sonicv1.9.1 · 1×
github.com/cespare/xxhash/v2v2.2.0 · 1×
github.com/chenzhuoyu/base64xv0.0.0-2022111506244 · 1×
github.com/davecgh/go-spewv1.1.1 · 1×

For agents

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

⬇ download graph artifact