favorite

package
v0.0.1-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(favStore store.FavoriteStore) *Controller

func ProvideController

func ProvideController(favStore store.FavoriteStore) *Controller

func (*Controller) Add

func (c *Controller) Add(ctx context.Context, userID, applicationID int64) error

func (*Controller) Delete

func (c *Controller) Delete(ctx context.Context, userID, applicationID int64) error

func (*Controller) IsFavorite

func (c *Controller) IsFavorite(ctx context.Context, userID, applicationID int64) (bool, error)

func (*Controller) List

func (c *Controller) List(ctx context.Context, userID, tenantID int64) ([]*types.FavoriteDTO, error)

Jump to

Keyboard shortcuts

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