user

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertCredentials

func AssertCredentials(r rpf.GINProcessor, c *gin.Context)

func AssertNotSystemUserRegistry

func AssertNotSystemUserRegistry(r rpf.GINProcessor, c *gin.Context)

func AssertUserActive

func AssertUserActive(r rpf.GINProcessor, c *gin.Context)

func AssertUserBlocked added in v0.0.13

func AssertUserBlocked(r rpf.GINProcessor, c *gin.Context)

func AssertUserNotDeleted added in v0.0.13

func AssertUserNotDeleted(r rpf.GINProcessor, c *gin.Context)

func AssertUserNotReadOnly

func AssertUserNotReadOnly(r rpf.GINProcessor, c *gin.Context)

func AssertUserReadOnly added in v0.0.13

func AssertUserReadOnly(r rpf.GINProcessor, c *gin.Context)

func DBGetUserByID

func DBGetUserByID(r rpf.GINProcessor, c *gin.Context)

func DBGetUserFromRegistry

func DBGetUserFromRegistry(r rpf.GINProcessor, c *gin.Context)

func DBInsertUser

func DBInsertUser(r rpf.GINProcessor, c *gin.Context)

func DBRegisterUser

func DBRegisterUser(r rpf.GINProcessor, c *gin.Context)

func DBRegistryUserFind

func DBRegistryUserFind(r rpf.GINProcessor, c *gin.Context)

func DBRegistryUserFindByEmail

func DBRegistryUserFindByEmail(r rpf.GINProcessor, c *gin.Context)

func DBRegistryUserFindByEmailOrNil

func DBRegistryUserFindByEmailOrNil(r rpf.GINProcessor, c *gin.Context)

func DBRegistryUserFindByID

func DBRegistryUserFindByID(r rpf.GINProcessor, c *gin.Context)

func DBRegistryUserList

func DBRegistryUserList(r rpf.GINProcessor, c *gin.Context)

func DBRegistryUserUpdate

func DBRegistryUserUpdate(r rpf.GINProcessor, c *gin.Context)

func DBRegistryUserUpdateFromUser

func DBRegistryUserUpdateFromUser(r rpf.GINProcessor, c *gin.Context)

func DBSingleShardUsersObjectDeleteAll added in v0.0.7

func DBSingleShardUsersObjectDeleteAll(r rpf.GINProcessor, c *gin.Context)

func DBUserStoresList added in v0.0.7

func DBUserStoresList(r rpf.GINProcessor, c *gin.Context)

func DBUserUpdate

func DBUserUpdate(r rpf.GINProcessor, c *gin.Context)

func ExportRegistryUserList

func ExportRegistryUserList(r rpf.GINProcessor, c *gin.Context)

func ExportUserMe

func ExportUserMe(r rpf.GINProcessor, c *gin.Context)

func ExportUserSession

func ExportUserSession(r rpf.GINProcessor, c *gin.Context)

func ExportUserSystem

func ExportUserSystem(r rpf.GINProcessor, c *gin.Context)

func ExtractFormParameterCredentials

func ExtractFormParameterCredentials(r rpf.GINProcessor, c *gin.Context)

func ExtractGINParameterObject

func ExtractGINParameterObject(r rpf.GINProcessor, c *gin.Context)

func ExtractGINParameterUser

func ExtractGINParameterUser(r rpf.GINProcessor, c *gin.Context)

func ExtractGINParameterUserID added in v0.0.13

func ExtractGINParameterUserID(r rpf.GINProcessor, c *gin.Context)

Types

type BasicRegUserToJSON

type BasicRegUserToJSON struct {
	Registry   *orm.UserRegistry
	Registered bool
}

USER REGISTRY //

func (*BasicRegUserToJSON) MarshalJSON

func (o *BasicRegUserToJSON) MarshalJSON() ([]byte, error)

type BasicUserToJSON

type BasicUserToJSON struct {
	ID   uint64    // User Shard ID
	User *orm.User // User Object
}

USER //

func (*BasicUserToJSON) MarshalJSON

func (o *BasicUserToJSON) MarshalJSON() ([]byte, error)

type FullRegUserToJSON

type FullRegUserToJSON struct {
	Registry   *orm.UserRegistry
	Registered bool
}

func (*FullRegUserToJSON) MarshalJSON

func (o *FullRegUserToJSON) MarshalJSON() ([]byte, error)

type FullUserToJSON

type FullUserToJSON struct {
	Registry *orm.UserRegistry // User Registry
	User     *orm.User         // User Object
}

func (*FullUserToJSON) MarshalJSON

func (o *FullUserToJSON) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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