Skip to content

Commit

Permalink
update github action (#9)
Browse files Browse the repository at this point in the history
* update github action

* add badge for debuglog, and database

* add badge for other module
  • Loading branch information
liuzengh authored Oct 24, 2023
1 parent d28732e commit 6f897d0
Show file tree
Hide file tree
Showing 32 changed files with 201 additions and 16 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/debuglog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd debuglog && go build -v ./...
- name: Test
run: cd debuglog && go test -v -gcflags=all=-l ./...
run: cd debuglog && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./debuglog/coverage.out
flags: debuglog
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/degrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd degrade && go build -v ./...
- name: Test
run: cd degrade && go test -v -gcflags=all=-l ./...
run: cd degrade && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./degrade/coverage.out
flags: degrade
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/filterextensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd filterextensions && go build -v ./...
- name: Test
run: cd filterextensions && go test -v -gcflags=all=-l ./...
run: cd filterextensions && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./filterextensions/coverage.out
flags: filterextensions
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/hystrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd hystrix && go build -v ./...
- name: Test
run: cd hystrix && go test -v -gcflags=all=-l ./...
run: cd hystrix && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./hystrix/coverage.out
flags: hystrix
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/jwt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd jwt && go build -v ./...
- name: Test
run: cd jwt && go test -v -gcflags=all=-l ./...
run: cd jwt && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./jwt/coverage.out
flags: jwt
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/masking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd masking && go build -v ./...
- name: Test
run: cd masking && go test -v -gcflags=all=-l ./...
run: cd masking && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./masking/coverage.out
flags: masking
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/mock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd mock && go build -v ./...
- name: Test
run: cd mock && go test -v -gcflags=all=-l ./...
run: cd mock && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./mock/coverage.out
flags: mock
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

10 changes: 9 additions & 1 deletion .github/workflows/recovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,13 @@ jobs:
- name: Build
run: cd recovery && go build -v ./...
- name: Test
run: cd recovery && go test -v -gcflags=all=-l ./...
run: cd recovery && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./recovery/coverage.out
flags: recovery
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}


9 changes: 8 additions & 1 deletion .github/workflows/referer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd referer && go build -v ./...
- name: Test
run: cd referer && go test -v -gcflags=all=-l ./...
run: cd referer && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./referer/coverage.out
flags: referer
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/slime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd slime && go build -v ./...
- name: Test
run: cd slime && go test -v -gcflags=all=-l ./...
run: cd slime && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./slime/coverage.out
flags: slime
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/transinfo-blocker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd transinfo-blocker && go build -v ./...
- name: Test
run: cd transinfo-blocker && go test -v -gcflags=all=-l ./...
run: cd transinfo-blocker && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./transinfo-blocker/coverage.out
flags: transinfo-blocker
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

10 changes: 8 additions & 2 deletions .github/workflows/tvar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,11 @@ jobs:
- name: Build
run: cd tvar && go build -v ./...
- name: Test
run: cd tvar && go test -v -gcflags=all=-l ./...

run: cd tvar && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./tvar/coverage.out
flags: tvar
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
9 changes: 8 additions & 1 deletion .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd validation && go build -v ./...
- name: Test
run: cd validation && go test -v -gcflags=all=-l ./...
run: cd validation && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./validation/coverage.out
flags: validation
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ English | [中文](README.zh_CN.md)

# go-filter

[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/trpc-ecosystem/go-filter/blob/main/LICENSE)

This repository provides several commonly used trpc-go filters, including:

* debuglog: Automatically logs the requests and responses of client/server interfaces.
Expand Down
2 changes: 2 additions & 0 deletions README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# go-filter

[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/trpc-ecosystem/go-filter/blob/main/LICENSE)

本仓库提供了一些常用的 trpc-go 拦截器,如:

* debuglog: 自动打印客户端/服务端接口的请求和响应
Expand Down
5 changes: 5 additions & 0 deletions debuglog/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# debuglog

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/debuglog.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/debuglog)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/debuglog)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/debuglog)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/debuglog.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/debuglog.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=debuglog&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/debuglog)

Enable this plugin to log the requests of all API.

## Usage
Expand Down
5 changes: 5 additions & 0 deletions debuglog/README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# debuglog

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/debuglog.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/debuglog)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/debuglog)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/debuglog)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/debuglog.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/debuglog.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=debuglog&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/debuglog)

启用此插件后,会对所有接口的请求进行日志打印。

## 使用说明
Expand Down
6 changes: 6 additions & 0 deletions degrade/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# tRPC-Go [degrade] 熔断保护插件

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/degrade.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/degrade)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/degrade)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/degrade)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/degrade.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/degrade.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=degrade&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/degrade)


## degrade 插件使用介绍

* degrade 插件主要功能:
Expand Down
5 changes: 5 additions & 0 deletions filterextensions/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## tRPC-Go 拦截器扩展

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/filterextensions.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/filterextensions)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/filterextensions)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/filterextensions)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/filterextensions.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/filterextensions.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=filterextensions&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/filterextensions)

tRPC-Go 支持在 `trpc_go.yaml` 中配置拦截器,但是拦截器的精度只到 service 层,无法作更细粒度的配置,如为 method 配置拦截器。

这个插件扩展了 `trpc_go.yaml` 的解析方式,以「插件」+「拦截器」的方式实现了 method 粒度的拦截器。
Expand Down
6 changes: 6 additions & 0 deletions hystrix/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## tRPC-Go [hystrix] fuse protection plugin

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/hystrix.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/hystrix)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/hystrix)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/hystrix)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/hystrix.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/hystrix.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=hystrix&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/hystrix)

### hystrix plugin introduction

The plugin is based on Netflix's open source hystrix component, see https://github.com/afex/hystrix-go
Expand Down
5 changes: 5 additions & 0 deletions jwt/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# tRPC-Go [jwt] 用户身份验证拦截器

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/jwt.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/jwt)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/jwt)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/jwt)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/jwt.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/jwt.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=jwt&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/jwt)

## jwt 插件使用说明

### I. 必要条件
Expand Down
6 changes: 5 additions & 1 deletion masking/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Masking
tRPC敏感数据脱敏模块

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/masking.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/masking)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/masking)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/masking)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/masking.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/masking.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=masking&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/masking)

tRPC敏感数据脱敏模块

## 使用说明

Expand Down
5 changes: 5 additions & 0 deletions mock/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# mock

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/mock.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/mock)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/mock)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/mock)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/mock.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/mock.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=mock&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/mock)

It implement back-end dependency interface mock calls via interceptors.

## Instructions for use
Expand Down
5 changes: 5 additions & 0 deletions recovery/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# recovery

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/recovery.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/recovery)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/recovery)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/recovery)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/recovery.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/recovery.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=recovery&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/recovery)

Enable this plugin to capture panics at the entry point of requests and return a 500 response, preventing program crashes caused by panics.

In general, this plugin should be configured as the first item in the filter configuration.
Expand Down
5 changes: 5 additions & 0 deletions recovery/README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# recovery

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/recovery.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/recovery)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/recovery)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/recovery)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/recovery.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/recovery.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=recovery&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/recovery)

启用本插件后,会在请求入口处捕获panic并返回500,避免因为panic导致的程序崩溃。

一般情况下,本插件应配置为filter配置中的第一项。
Expand Down
5 changes: 5 additions & 0 deletions referer/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# referer

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/referer.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/referer)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/referer)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/referer)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/referer.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/referer.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=referer&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/referer)

http referer 安全验证

## 使用说明
Expand Down
9 changes: 8 additions & 1 deletion slime/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
English | [中文](./README_zh_CN.md)
English | [中文](README.zh_CN.md)

## Supported Protocols

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/slime.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/slime)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/slime)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/slime)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/slime.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/slime.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=slime&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/slime)


<span style="color:red">**DO NOT enable retry/hedging for non-idempotent requests**</span>.
<span style="color:red">Not all protocols can use retry/hedging</span>.
Yaml config in Chapter Slime may not be suitable for non tRPC protocols. In this case, you could use the
Expand Down
6 changes: 6 additions & 0 deletions slime/README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
[English](./README.md) | 中文

## 支持的协议

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/slime.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/slime)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/slime)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/slime)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/slime.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/slime.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=slime&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/slime)

<span style="color:red">**请不要对非幂等请求开启重试/对冲功能**</span>。
<span style="color:red">并非所有协议都能使用重试/对冲</span>。
对于非 trpc 协议,可能并不适用 Slime 一章的 yaml 配置,这时,你可以直接使用基础包。
Expand Down
6 changes: 6 additions & 0 deletions transinfo-blocker/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# transinfo blocker

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/transinfo-blocker.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/transinfo-blocker)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/transinfo-blocker)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/transinfo-blocker)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/transinfo-blocker.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/transinfo-blocker.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=transinfo-blocker&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/transinfo-blocker)


- trpc 框架下透传字段安全插件, 用于屏蔽调用下游的字段,避免登录态及其他敏感信息泄露问题。

## 使用说明
Expand Down
5 changes: 5 additions & 0 deletions tvar/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# trpc-go tvar统计插件

[![Go Reference](https://pkg.go.dev/badge/trpc.group/trpc-go/trpc-filter/tvar.svg)](https://pkg.go.dev/trpc.group/trpc-go/trpc-filter/tvar)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-filter/tvar)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-filter/tvar)
[![Tests](https://github.com/trpc-ecosystem/go-filter/actions/workflows/tvar.yml/badge.svg)](https://github.com/trpc-ecosystem/go-filter/actions/workflows/tvar.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-filter/branch/main/graph/badge.svg?flag=tvar&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-filter/tree/main/tvar)

## 插件简介

实现serverside、clientside RPC等监控项的统计上报
Expand Down
Loading

0 comments on commit 6f897d0

Please sign in to comment.