mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-12 14:58:08 +01:00
added subscription.Message.WriteSSE method
This commit is contained in:
1 parent
973916bb48
commit
4db497c5e1
6 files changed
+3481
-3409
No files matched your search
@@ -13,12 +13,6 @@ import (
|
||||
|
||||
const optionsParam = "options"
|
||||
|
||||
// Message defines a client's channel data.
|
||||
type Message struct {
|
||||
Name string `json:"name"`
|
||||
Data []byte `json:"data"`
|
||||
}
|
||||
|
||||
// SubscriptionOptions defines the request options (query params, headers, etc.)
|
||||
// for a single subscription topic.
|
||||
type SubscriptionOptions struct {
|
||||
|
||||
Reference in new issue
Block a user