-
$ goctl.exe rpc new rpc
Error: ERROR: 2022/07/24 00:44:30 [profiling] error parsing flags: when -address isn't specified, you must include -stream-stats-catapult-json
Usage:
goctl rpc new [flags]…
-
GoZero版本: `v1.6.5`
我这边使用了这个方法,运行后,redis里存了数据,时间也是对的,但是,我第二次运行,仍然走的还是数据库查询,不像QueryCtx,确实只运行了一次,第二次就读redis了,下面是我的代码。
yu1ec updated
5 months ago
-
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, if applicable:
1. The code is
```go
package main
import…
-
hi, i have a logic code in rpc service below:
![image](https://user-images.githubusercontent.com/102532661/204433949-4eb5d305-c34a-4d49-8c82-2b3a2cad5de7.png)
i use grpc error to pass error to api…
-
我现在处理GPT流式返回,我用Gin可以实现,Demo代码如下:
```go
r.GET("/stream", func(c *gin.Context) {
chanStream := make(chan string, 100)
c.Header("Content-Type", "text/event-stream; charset=utf-8")
go http.GetD…
-
I tested the http service myself, use ctrl_c and kill pid to cancel the program, but it also exited directly, and did not wait for the coroutine processing of the processing program to end before exit…
-
我还是用中文描述吧!
**Describe the bug**
goctl release v1.2.4 使用 --home 指定自定义模板目录不生效
版本:
```
➜ goctl --version
goctl version 1.2.3-cli darwin/amd64
```
**To Reproduce**
Steps to reproduce the be…
-
### Nuclei version:
Nuclei Version: 3.1.11
### Current Behavior:
go build
```
go build
# github.com/projectdiscovery/nuclei/v3/pkg/protocols/code
../../go/pkg/mod/github.com/projectdiscover…
-
kafka how to partition ,help!
-
I started a python service generated by "grpc_tools", and then I tried to use API gateway to call it in the same way as the RPC service of gozero. This is an error message:
(我启动了一个由“grpc_tools”生成的pyt…