social

package module
v0.0.0-...-c083592 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: Unlicense Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHashtags

func GetHashtags(area string) string

func PostToBluesky

func PostToBluesky(identifier string, warning_text string)

Types

type BskyUser

type BskyUser struct {
	Identifier string `json:"identifier"`
	Password   string `json:"password"`
}

type PostRecord

type PostRecord struct {
	Repo       string `json:"repo"`
	Collection string `json:"collection"`
	Record     Record `json:"record"`
}

type Record

type Record struct {
	Type      string       `json:"$type"`
	Text      string       `json:"text,omitempty"`
	CreatedAt time.Time    `json:"createdAt,omitempty"`
	Facets    []bsky.Facet `json:"facets,omitempty"`
	Langs     []string     `json:"langs,omitempty"`
}

type SessionBody

type SessionBody struct {
	AccessJwt  string `json:"accessJwt"`
	RefreshJwt string `json:"refreshJwt"`
	Handle     string `json:"handle"`
	DID        string `json:"did"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL