go-graphql
创建GraphQL Api服务+实时PubSub使用Golang
安装
MYSQL(当前使用MYSQL数据库)
在/config/config.go中更改数据库连接
将schema.sql导入数据库
mysql -u root -p YOUR-DATABASE-NAME < schema xss=removed xss=removed xss=removed> {
console . log ( "received server message:" , msg . data )
}
// Subscribe to a topic
ws . send ( '{"action":
评论0
最新资源