Go to file
Kevin Franklin Kim 7e1298b21b
Some checks failed
Test Branch / test (push) Has been cancelled
chore: add codecov
2025-09-19 08:19:38 +02:00
.github chore: add codecov 2025-09-19 08:19:38 +02:00
.husky chore: add husky 2025-06-03 16:48:05 +02:00
cmd/gotsrpc fix: lint issues 2025-09-18 23:28:27 +02:00
config feat: add schema 2025-09-18 23:20:12 +02:00
example test: add types test 2025-09-18 23:22:52 +02:00
prometheus fix: fix lint errors 2022-08-17 08:48:21 +02:00
.dockerignore feat: add docker build 2025-09-18 23:20:40 +02:00
.gitignore feat: add docker build 2025-09-18 23:20:40 +02:00
.golangci.yaml fix: lint issues 2025-09-18 23:28:27 +02:00
.goreleaser.yml feat: add docker build 2025-09-18 23:20:40 +02:00
.husky.yaml chore: add husky 2025-06-03 16:48:05 +02:00
.mise.toml chore: add mise 2025-09-18 23:21:15 +02:00
build.go fix: use build default 2025-03-24 17:04:14 +01:00
client_test.go fix: lint issues 2025-03-06 16:08:57 +01:00
client.go fix: lint issues 2025-06-03 16:49:35 +02:00
clienterror.go fix: add client error unwrap 2025-03-07 14:53:01 +01:00
code.go async client flavor added 2018-06-12 14:09:46 +02:00
Dockerfile feat: add docker build 2025-09-18 23:20:40 +02:00
error.go fix: struct error 2025-03-06 16:08:43 +01:00
go.go fix: fix lint errors 2022-08-17 08:48:21 +02:00
go.mod fix: lint issues 2025-09-18 23:28:27 +02:00
go.sum feat: update deps 2025-09-18 23:22:38 +02:00
gorpc.go fix: fix go method types 2022-05-19 23:31:58 +02:00
gotsrpc_test.go improved interface{} support and refactored arg loading 2017-07-25 08:46:42 +02:00
gotsrpc.example.yaml feat: add schema 2025-09-18 23:20:12 +02:00
gotsrpc.go fix: struct error 2025-03-06 16:08:43 +01:00
gotsrpc.schema.json feat: add schema 2025-09-18 23:20:12 +02:00
http_test.go fix: fix lint errors 2022-08-17 08:48:21 +02:00
http.go fix: lint issues 2025-06-03 16:49:35 +02:00
httperror.go feat: support union types 2022-03-02 15:18:09 +01:00
instrumentation_test.go fix: fix lint errors 2022-08-17 08:48:21 +02:00
instrumentation.go feat: add monitor 2022-05-04 11:16:04 +02:00
LICENSE docs: update README 2025-02-18 14:11:10 +01:00
Makefile chore: add mise 2025-09-18 23:21:15 +02:00
model.go fix: fix lint errors 2022-08-17 08:48:21 +02:00
monitor.go feat: add monitor 2022-05-04 11:16:04 +02:00
README.md chore: add mise 2025-09-18 23:21:15 +02:00
responsewriter.go feat: don't send reponse on http error 2021-05-21 15:25:09 +02:00
schema_test.go feat: add schema 2025-09-18 23:20:12 +02:00
servicereader.go fix: collected nested types 2022-11-29 13:57:04 +01:00
stats.go feat: add error type 2023-07-11 08:11:52 +02:00
timeext.go fix: fix lint errors 2022-08-17 08:48:21 +02:00
transport.go fix: lint issues 2025-06-03 16:49:35 +02:00
typereader.go fix: lint issues 2025-06-03 16:49:35 +02:00
typescript_test.go async client flavor added 2018-06-12 14:09:46 +02:00
typescript.go fix: string union type 2024-11-08 14:22:22 +01:00
typscriptclient.go fix: lint issues 2025-06-03 16:49:35 +02:00
unionext.go feat: support union types 2022-03-02 15:18:09 +01:00

Build Status Go Report Card GoDoc

gotsrpc

Go / TypeScript and Go / Go RPC

Documentation

Please refer to the documentation.

$ gotsrpc
gotsrpc

Usage:
  gotsrpc [options] <config-file>

Options:
  -version   Display version information
  -debug     Print debug information

Examples:
  $ gotsrpc path/to/gotsrpc.yaml

Installation

Please follow the documentation.

Download binary

Download a binary release

Build from source

go install github.com/foomo/gotsrpc@latest

Homebrew (Linux/macOS)

If you use Homebrew, you can install like this:

brew install foomo/tap/gotsrpc

Mise

If you use mise, you can install like this:

mise use github.com:foomo/gotsrpc

Release downloads:

https://github.com/foomo/gotsrpc/releases

How to Contribute

Please refer to the CONTRIBUTING details and follow the CODE_OF_CONDUCT and SECURITY guidelines.

License

Distributed under MIT License, please see license file within the code for more details.

Made with ♥ foomo by bestbytes