package
Version:
v1.1.3
Opens a new window with list of versions in this module.
Published: Nov 6, 2024
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewWorker returns a new near social worker.
type HashtagValue struct {
Type string `json:"type"`
Path string `json:"path"`
}
type IndexKey struct {
Type string `json:"type"`
Path string `json:"path,omitempty"`
BlockHeight int64 `json:"blockHeight,omitempty"`
}
type IndexValue struct {
Type string `json:"type"`
Path string `json:"path,omitempty"`
Item *Item `json:"item,omitempty"`
}
type Item struct {
Type string `json:"type"`
Path string `json:"path"`
BlockHeight int64 `json:"blockHeight,omitempty"`
}
type PostData struct {
Type string `json:"type"`
Text string `json:"text,omitempty"`
Item *Item `json:"item,omitempty"`
}
type RepostIndexData []struct {
Key interface{} `json:"key"`
Value struct {
Type string `json:"type"`
Item *struct {
Type string `json:"type"`
Path string `json:"path"`
BlockHeight int64 `json:"blockHeight"`
} `json:"item,omitempty"`
} `json:"value"`
}
type UserContent struct {
Index map[string]string `json:"index,omitempty"`
Post map[string]string `json:"post,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.