logic

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmojiLogic

type EmojiLogic interface {
	GetOne(ctx context.Context, profile, name string)
}

func NewEmoji

func NewEmoji(r *infra.Infra) EmojiLogic

type Logic

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

func New

func New(r *infra.Infra) *Logic

func (*Logic) AddProfileLogic

func (l *Logic) AddProfileLogic(ctx context.Context, server string) string

func (*Logic) ArchiveNotesLogic

func (l *Logic) ArchiveNotesLogic(ctx context.Context, profile, d string, page int) templ.Component

func (*Logic) ArchivesLogic

func (l *Logic) ArchivesLogic(ctx context.Context, profile string) templ.Component

func (*Logic) CallbackLogic

func (l *Logic) CallbackLogic(ctx context.Context, host, sessionId string) error

func (*Logic) EmojiFullJob

func (l *Logic) EmojiFullJob(ctx context.Context, j app.Job)

func (*Logic) EmojiOneJob

func (l *Logic) EmojiOneJob(ctx context.Context, j app.Job)

func (*Logic) FilesLogic

func (l *Logic) FilesLogic(ctx context.Context, profile string, page int) (templ.Component, error)

func (*Logic) GetEmoji

func (l *Logic) GetEmoji(ctx context.Context, profile, name string) *mi.Emoji

func (*Logic) GetReactions

func (l *Logic) GetReactions(ctx context.Context, profile, id string) (int, *mi.Reactions)

func (*Logic) HashTagsLogic

func (l *Logic) HashTagsLogic(ctx context.Context, profile, name string, page int) templ.Component

func (*Logic) HomeLogic

func (l *Logic) HomeLogic(ctx context.Context, profile string) (templ.Component, error)

func (*Logic) JobLogic

func (l *Logic) JobLogic(ctx context.Context, profile string) templ.Component

func (*Logic) JobProcesser

func (l *Logic) JobProcesser(ctx context.Context)

func (*Logic) JobProgressLogic

func (l *Logic) JobProgressLogic(ctx context.Context) (int, bool, templ.Component)

func (*Logic) JobStartLogic

func (l *Logic) JobStartLogic(ctx context.Context, job app.Job) templ.Component

func (*Logic) ManageLogic

func (l *Logic) ManageLogic(ctx context.Context) templ.Component

func (*Logic) NewProfileLogic

func (l *Logic) NewProfileLogic(ctx context.Context) templ.Component

func (*Logic) NotesLogic

func (l *Logic) NotesLogic(ctx context.Context, profile string, page int) (templ.Component, error)

func (*Logic) ReactionFullJob

func (l *Logic) ReactionFullJob(ctx context.Context, j app.Job)

func (*Logic) ReactionJob

func (l *Logic) ReactionJob(ctx context.Context, j app.Job)

func (*Logic) ReactionsLogic

func (l *Logic) ReactionsLogic(ctx context.Context, profile, name string, page int) templ.Component

func (*Logic) SelectProfileLogic

func (l *Logic) SelectProfileLogic(ctx context.Context) templ.Component

func (*Logic) UsersLogic

func (l *Logic) UsersLogic(ctx context.Context, profile, name string, page int) templ.Component

Jump to

Keyboard shortcuts

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