BeaverTripleService

command module
v0.0.0-...-8d2d120 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

grpcurlでのdebug

※ portはよしなに変更してください

grpcurl -d '{"job_id": 1, "amount": 10}' beaver_triple_service:54100 enginetobts.EngineToBts/GetTriples

grpcサーバのヘルスチェック

grpc_health_probe -addr=localhost:54100

JWT token の生成

YAML ファイルを入力に JWT token を生成します

root@container:/QuickMPC-BTS# go run Cmd/JWTGenerator/main.go     # generate from sample.yml
root@container:/QuickMPC-BTS# go run Cmd/JWTGenerator/main.go \
>                                 -file /path/to/config.yml   \
>                                 -o ./output/envs                # use own configuration
root@container:/QuickMPC-BTS# go run Cmd/JWTGenerator/main.go -h  # show help

クライアントとサーバ向けにそれぞれ .env ファイル形式の設定ファイルが書き込まれます

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Cmd
Server
* Test用サーバーを構築するためのコード * bufconnによって他のコンテナを立てず接続Testができる
* Test用サーバーを構築するためのコード * bufconnによって他のコンテナを立てず接続Testができる

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL