userfavorites

package
v0.0.0-...-2540817 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 9 Imported by: 0

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