userfavorites

package
v0.0.0-...-447887d Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(portalProxy api.PortalProxy) (api.StratosPlugin, error)

Init creates a new UserFavorites

Types

type UserFavorites

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

UserFavorites stores user favorites

func (*UserFavorites) AddAdminGroupRoutes

func (uf *UserFavorites) AddAdminGroupRoutes(echoGroup *echo.Group)

AddAdminGroupRoutes adds the admin routes for this plugin to the Echo server

func (*UserFavorites) AddSessionGroupRoutes

func (uf *UserFavorites) AddSessionGroupRoutes(echoGroup *echo.Group)

AddSessionGroupRoutes adds the session routes for this plugin to the Echo server

func (*UserFavorites) GetEndpointPlugin

func (uf *UserFavorites) GetEndpointPlugin() (api.EndpointPlugin, error)

GetEndpointPlugin gets the endpoint plugin for this plugin

func (*UserFavorites) GetMiddlewarePlugin

func (uf *UserFavorites) GetMiddlewarePlugin() (api.MiddlewarePlugin, error)

GetMiddlewarePlugin gets the middleware plugin for this plugin

func (*UserFavorites) GetRoutePlugin

func (uf *UserFavorites) GetRoutePlugin() (api.RoutePlugin, error)

GetRoutePlugin gets the route plugin for this plugin

func (*UserFavorites) Init

func (uf *UserFavorites) Init() error

Init performs plugin initialization

func (*UserFavorites) RemoveEndpointFavorites

func (uf *UserFavorites) RemoveEndpointFavorites(endpointGUID string) error

RemoveEndpointFavorites removes favorites form an endpoint using the given endpoint guid

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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