security

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DOES NOT MATTER IF THE USER IS OR NOT CONNECTED
	ANY = 1
	// THE USER MUST BE CONNECTED TO USE THE LIBARY
	USER = 2
	// No access needed
	FREEACCESS = ""
)

Variables

This section is empty.

Functions

func HasAccess

func HasAccess(ctx *context.Context, args ...interface{}) bool

SECURITY Access

func Verify

func Verify(ctx *context.Context, connection int, args ...interface{}) bool

Verify connected user, verify security accesses

Types

This section is empty.

Jump to

Keyboard shortcuts

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