c5_labsci/zciyon/grpc.go
2026-01-27 00:52:00 +08:00

10 lines
253 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package zciyon
import "net/http"
type CiyGRPC interface { //通用proto描述双向响应
Init(w http.ResponseWriter, r *http.Request) error
Send(data string, event string, id string) error
Watch(fn func(data string, event string, id string))
}