Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

truss

> 开发工具
Open source

Truss helps you build go-kit microservices without having to worry about writing or maintaining boilerplate code.

740 stars0 likes0 views
WebsiteGitHub

About

Truss helps you build go-kit microservices without having to worry about writing or maintaining boilerplate code.

Truss

Truss handles the painful parts of services, freeing you to focus on the business logic.

Install

Currently, there is no binary distribution of Truss, you must install from source.

To install this software, you must:

  1. Install protoc 3 or newer. The easiest way is to download a release from github and add to $PATH. Otherwise install from source.

  2. Install Truss with

    go get -u -d github.com/metaverse/truss
    cd $GOPATH/src/github.com/metaverse/truss
    make dependencies
    make

    On Windows, do the following instead:

    go get -u -d github.com/metaverse/truss
    cd %GOPATH%/src/github.com/metaverse/truss
    wininstall.bat

Usage

Using Truss is easy. You define your service with gRPC and protoc buffers, and Truss uses that definition to create an entire service. You can even add http annotations for HTTP 1.1/JSON transport!

Then you open the handlers/handlers.go, add you business logic, and you're good to go.

Here is an example service definition: Echo Service

Try Truss for yourself on Echo Service to see the service that is generated:

truss _example/echo.proto

See USAGE.md and TUTORIAL.md for more details.

Developing

See DEVELOPING.md for details.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goclicode-generationgo-kitgolang

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具