external

package
v0.0.0-...-57477c7 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LinkedinCreatePostUrl = "https://api.linkedin.com/v2/posts"
	LinkedinProfileUrl    = "https://api.linkedin.com/v2/userinfo"
	LinkedinImageUrl      = "https://api.linkedin.com/rest/images?action=initializeUpload"
)
View Source
const FacebookCreatePostUrl = "https://graph.facebook.com/v19.0/%s/feed"

Variables

This section is empty.

Functions

This section is empty.

Types

type Facebook

type Facebook struct {
}

func (Facebook) Post

func (m Facebook) Post(configData config.Config, post Post) error

type Linkedin

type Linkedin struct {
}

func (Linkedin) Post

func (m Linkedin) Post(configData config.Config, post Post) error

type Mastodon

type Mastodon struct {
}

func (Mastodon) Post

func (m Mastodon) Post(configData config.Config, post Post) error

type Post

type Post struct {
	Title       string
	Link        string
	Description string
	HashTags    string
}

type Poster

type Poster interface {
	Post(configData config.Config, post Post) error
}

type Twitter

type Twitter struct {
}

func (Twitter) Post

func (m Twitter) Post(configData config.Config, post Post) error

Jump to

Keyboard shortcuts

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