marsevilspirit commented on PR #2928: URL: https://github.com/apache/dubbo-go/pull/2928#issuecomment-3016569691
> 我建议还是采用同样的机制。但是我没测试过。 tri.AppendToOutgoingContext(ctx, k, val) tri.FromIncomingContext(ctx) 这两个函数太低层了,我们不想暴露太低层的函数 如果要使用这两个函数的话,用户需要 ```go import "dubbo.apache.org/dubbo-go/v3/protocol/triple/triple_protocol" ``` 我还不想让用户直接import triple_protocol模块,而triple模块可以接受,或许可以在triple模块加入attachments的API? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org