Documentation ¶
Index ¶
- Variables
- func CalcNewInterval(work *commonTypes.WorkDispatched, feeds []commonTypes.RawFeed) time.Duration
- func FeedOnChain(work *commonTypes.OnChainRequest) (string, string, int64, int64, error)
- func GetCrossbellHandleFromID(characterID string) (string, error)
- func HttpRequest(url string, withProxy bool) ([]byte, error)
- func ParseAuthors(authors []*gofeed.Person) []string
- func RSSFeedRequest(url string, withProxy bool) (*gofeed.Feed, uint, error)
- func RSSFeedRequestJson(url string, withProxy bool) (*commonTypes.FeedWithExtra, uint, error)
- func StringPointerOmitEmpty(str string) *string
- func UploadAllMedia(mediaUris []string) []types.Media
- func UploadBytesToIPFS(data []byte, filename string) (string, uint, error)
- func UploadOneMedia(mediaUri string) (*types.Media, error)
- func UploadURLToIPFS(targetUrl string, withProxy bool) (string, string, uint, string, string, error)
- func UploadVideoToIPFS(videoUrl string) (string, uint, error)
- func ValidateUri(uri string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TrimRegex *regexp.Regexp
)
Functions ¶
func CalcNewInterval ¶
func CalcNewInterval(work *commonTypes.WorkDispatched, feeds []commonTypes.RawFeed) time.Duration
func FeedOnChain ¶
func FeedOnChain(work *commonTypes.OnChainRequest) (string, string, int64, int64, error)
func ParseAuthors ¶
func RSSFeedRequestJson ¶
func RSSFeedRequestJson(url string, withProxy bool) (*commonTypes.FeedWithExtra, uint, error)
func StringPointerOmitEmpty ¶
func UploadAllMedia ¶
func UploadURLToIPFS ¶
func ValidateUri ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.