controller

package
v3.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataController

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

DataController returns helper for checking access

func (*DataController) Inject

Inject security service dependency

func (*DataController) IsGranted

func (c *DataController) IsGranted(ctx context.Context, r *web.Request, params web.RequestParams) interface{}

IsGranted permission check

func (*DataController) IsLoggedIn

func (c *DataController) IsLoggedIn(ctx context.Context, r *web.Request, _ web.RequestParams) interface{}

IsLoggedIn check

func (*DataController) IsLoggedOut

func (c *DataController) IsLoggedOut(ctx context.Context, r *web.Request, _ web.RequestParams) interface{}

IsLoggedOut check

Jump to

Keyboard shortcuts

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