-
Updated
Jun 20, 2021 - JavaScript
gRPC
gRPC is a modern open source high performance RPC framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking and authentication. It is also applicable in last mile of distributed computing to connect devices, mobile applications and browsers to backend services.
Here are 3,825 public repositories matching this topic...
-
Updated
Jun 20, 2021 - C++
-
Updated
Jun 18, 2021 - Go
🐛 Bug Report
To Reproduce
package api.svc;
option go_package = "api/svc";
rpc GetTrieNode(api.infra.GetTrieNodeReq) returns (api.infra.KVNode) {
option (google.api.http) = {
post: "/trie/node:get"
body: "*"
additional_bindings {
get: "/trie/node/{id}"
}
additional_bindings {
get: "/trie/node/path/{path}"
}
-
Updated
Jun 20, 2021 - Python
-
Updated
Jun 20, 2021 - Java
On contexts with many APIs and APIs calling other APIs in chains, having too many spans in the zipkin/jaeger dashboards may lead to a too complex usage of such dashboards and of not necessary big data volumes.
For Tyk's admin team, the steps representing the time spent in each Tyk middleware are much valuable.
But the upstream APIs teams just want to know the global time spent in Tyk interna
When using type google.protobuf.Timestamp, BloomRPC maps this to an object, e.g.:
"create_time": {
"seconds": "1562723637",
"nanos": 928852400
}However, the Google API Design Guide specifies that the string representation should be RFC 3339 format, e.g. "2014-07-30T10:43:17Z"
This JSON mapp
Add Error Boundaries
-
Updated
Jun 17, 2021 - Go
-
Updated
Jun 19, 2021 - Go
-
Updated
Apr 14, 2021 - Go
-
Updated
Jun 18, 2021
-
Updated
Jun 19, 2021 - Go
-
Updated
Jun 14, 2021 - Go
-
Updated
Jun 18, 2021 - TypeScript
-
Updated
Mar 31, 2021 - Java
When writing a test case with ServerRule or ServerExtension, a user sometimes wants to capture the ServiceRequestContexts:
class MyJUnit5Test {
static final var serviceContexts =
new LinkedBlockingQueue<ServiceRequestContext>();
@RegisterExtension
static final var server = new ServerExtension() {
@Override
protected void configure(ServerBuilder sb) thr-
Updated
Jun 7, 2021 - C#
As we all know golang has give us the feature that convert proto to json with https://github.com/golang/protobuf/blob/master/jsonpb/encode.go ,and with encode.go ,we can define diffrent style like casesensitive , emit empty , json indent and so on , we can see [Customizing Protobuf JSON Serialization in Go](https://seb-nyberg.medi
-
Updated
Jun 8, 2021 - Go
-
Updated
Jun 16, 2021 - Go
-
Updated
Jun 18, 2021 - Go


背景和动机
我们不希望将一些敏感的内容提交到 git 仓库中,所以这些敏感内容我们会和提交到 git 仓库的配置文件分离。
我们将这些机密内容放在
dotenv运行时加载到环境变量或是直接存于环境变量中。除此之外,配置可能因为程序运行环境发生改变,而需要动态的进行配置。
所以我们希望 kratos 能够在配置文件中动态的识别环境变量占位符,并使用环境变量值替换配置的内容。
提议的方案
提案在配置文件中,通过占位符来替换环境变量中的功能:
提案建议的占位符风格有如下几种:
%(VARIABLE_NAME):传统的环境变量占位符%env(VARIABLE_NAME)%: 带有环境变量处理器的占位符传统的环境变量占位符
传统的占位符替换机制只能够替换环境变量(包含 dot