我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Twitch是否可以将GraphQL与Twirp RPC框架一起使用

I have a Golang program working with Twirp and I want to create GraphQl server, but as far as I know, twirp build on top of the Rest API

It is definitely possible.

You Just have to make a wrapper over the Twirp based RPC API.

This is a similar case to wrapping a GraphQL API over a Rest API.

You should also read this article, where the wrapping of a graphql api over a rest one is shown.

近期文章

  • 指针的行为
  • Hyperledger Fabric链码-无法使用InvokeChaincode从另一个链码读取数据。 状态200,但有效载荷为空
  • 使用gocql将用户定义类型的数组插入Cassandra
  • 我们如何使用kubernetes api进行kubernetes集群信息转储
  • 整齐地将int空间分隔成数组的方式吗?
  • 用于golang的Docker多阶段构建可创建大形象
  • 第三方dll中未处理的delphi异常
  • 如何运行一个GO应用程序的多个实例?
  • 在结构内部更改结构的引用
  • Golang CSV在Linux上写为空
  • 包装的结构引用
  • Gorm AutoMigrate()和CreateTable()无法正常工作
  • 如何在status bar中显示通知?
  • 在go中使用sleep时执行哪个goroutine?
  • 我怎样才能在recovery()中捕获runtime.errorString?
  • 加密聊天中的“运行时错误:切片范围超出范围”
  • 为什么发布请求在gin golang中不起作用?
  • GoLang将STDOUT和STDERR写入log15文件
  • 如果并发进程向全局变量写入相同的值会怎样?
  • 无法通过var.MethodName()从另一个包访问方法

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华