go-graphql:创建GraphQL Api服务+实时PubSub使用Golang

时间:2021-04-28 08:22:59
【文件属性】:
文件名称:go-graphql:创建GraphQL Api服务+实时PubSub使用Golang
文件大小:14KB
文件格式:ZIP
更新时间:2021-04-28 08:22:59
Go 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":
【文件预览】:
go-graphql-master
----config()
--------config.go(73B)
----pubsub()
--------pubsub.go(3KB)
--------server.go(905B)
----schema.sql(2KB)
----model()
--------token.go(2KB)
--------user.go(7KB)
----db()
--------mysql.go(4KB)
----schema()
--------schema.go(595B)
----query()
--------query.go(2KB)
----dev()
--------graphiql.go(4KB)
----mutation()
--------mutation.go(4KB)
----main.go(2KB)
----.gitignore(110B)
----README.md(903B)
----helper()
--------checkmail.go(2KB)

网友评论