user

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 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 AssertUserNotReadOnly

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

func AssertUserUnblocked

func AssertUserUnblocked(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 DBRegistryUserStoreList

func DBRegistryUserStoreList(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 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)

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