alfcnv

package
v0.0.0-...-8b1529d Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Overview

Package alfcnv provides tools to convert a Bluesky post into a Mastodon one.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

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

func New

func New(w io.Writer, bscli *xrpc.Client, mcli *mastodon.Client, db *alfdb.DB) *Converter

func (*Converter) AddAssoc

func (cnv *Converter) AddAssoc(ctx context.Context, bsuid, msuid string) (err error)

func (*Converter) Post

func (cnv *Converter) Post(ctx context.Context, acc alfari.Account, uri syntax.ATURI) (alf alfari.Toot, err error)

func (*Converter) Sync

func (cnv *Converter) Sync(ctx context.Context, acc alfari.Account) (n int, err error)

Jump to

Keyboard shortcuts

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