mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-11-23 00:57:14 +00:00
11 lines
388 B
Go
11 lines
388 B
Go
package relay
|
|
|
|
type Event struct {
|
|
ID string `json:"id" bson:"id"`
|
|
PubKey string `json:"pubkey" bson:"pubkey"`
|
|
CreatedAt int64 `json:"created_at" bson:"created_at"`
|
|
Kind int `json:"kind" bson:"kind"`
|
|
Tags [][]string `json:"tags" bson:"tags"`
|
|
Content string `json:"content" bson:"content"`
|
|
Sig string `json:"sig" bson:"sig"`
|
|
} |