logic

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 19 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, error)

func (*Logic) ArchiveNotesLogic

func (l *Logic) ArchiveNotesLogic(ctx context.Context, profile, d string, params Params) (templ.Component, error)

func (*Logic) ArchivesLogic

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

func (*Logic) CallbackLogic

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

func (*Logic) FilesLogic

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

func (*Logic) HashTagsLogic

func (l *Logic) HashTagsLogic(ctx context.Context, profile, name string, params Params) (templ.Component, error)

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, params Params) (templ.Component, error)

func (*Logic) ReactionsLogic

func (l *Logic) ReactionsLogic(ctx context.Context, profile, name string, params Params) (templ.Component, error)

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, params Params) (templ.Component, error)

type Params added in v0.0.3

type Params struct {
	Page int
	S    string
}

Jump to

Keyboard shortcuts

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