mastodon

package
v0.0.0-...-75cab52 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(conf *Config) (*Client, error)

func (*Client) Publish

func (c *Client) Publish(ctx context.Context, i internal.Item) error

func (*Client) Skip

func (c *Client) Skip(context.Context, internal.Item)

type Config

type Config struct {
	Server       string
	ClientID     string
	ClientSecret []byte
	AccessToken  []byte
}

func LoadConfig

func LoadConfig(path string) (*Config, error)

Jump to

Keyboard shortcuts

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