usecase

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Unlicense Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBotUseCase

type IBotUseCase interface {
	GetByUserName(ctx context.Context, username string) (*activitypub.Actor, error)
	GetOutBox(ctx context.Context, username string) (*activitypub.OrderedCollection, error)
	AcceptFollowing(ctx context.Context, username string, item activitypub.Item) (*activitypub.Accept, *activitypub.Actor, error)
	Unfollow(ctx context.Context, username string, item activitypub.Item) (bool, error)
	Reply(ctx context.Context, username string, item activitypub.Item) (*activitypub.Create, *activitypub.Actor, error)
	CancelReply(ctx context.Context, item activitypub.Item) error
	GetAny(ctx context.Context, id activitypub.IRI) (activitypub.Item, error)
}

func NewBotUseCase

func NewBotUseCase(repo repository.BotRepository) IBotUseCase

Jump to

Keyboard shortcuts

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