feat: expose result subscription HTTP and WebSocket APIs
This commit is contained in:
9
protocol/eventsv1/schema.go
Normal file
9
protocol/eventsv1/schema.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Package eventsv1 提供可靠结果订阅v1的机器可读契约;授权和状态由数据库事务决定。
|
||||
package eventsv1
|
||||
|
||||
import _ "embed"
|
||||
|
||||
// Schema 分别定义客户端和服务端消息,禁止将响应字段伪装成请求。
|
||||
//
|
||||
//go:embed events.schema.json
|
||||
var Schema string
|
||||
Reference in New Issue
Block a user