resource

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

func InitCollectionOnce

func InitCollectionOnce(db *mongox.Mongo)

func InitCrypto added in v1.9.1

func InitCrypto(reg *cryptox.CryptoRegistry) cryptox.Crypto

func InitResourceDAO

func InitResourceDAO(db *mongox.Mongo) dao.ResourceDAO

Types

type EncryptedSvc added in v1.9.1

type EncryptedSvc = service.EncryptedSvc

func NewEncryptedService added in v1.9.1

func NewEncryptedService(baseSvc service.Service, attrSvc attribute.Service, cryptox2 cryptox.Crypto,
) EncryptedSvc

type FilterCondition added in v1.10.0

type FilterCondition = domain.FilterCondition

type FilterGroup added in v1.10.0

type FilterGroup = domain.FilterGroup

type Handler

type Handler = web.Handler

type Module

type Module struct {
	Svc          Service
	EncryptedSvc EncryptedSvc
	Hdl          *Handler
	// contains filtered or unexported fields
}

func InitModule

func InitModule(db *mongox.Mongo, attributeModule *attribute.Module, relationModule *relation.Module, q mq.MQ, crypto *cryptox.CryptoRegistry) (*Module, error)

type Operator added in v1.10.0

type Operator = domain.Operator

type Resource added in v1.8.0

type Resource = domain.Resource

type Service

type Service = service.Service

func NewService

func NewService(repo repository.ResourceRepository) Service

Directories

Path Synopsis
internal
web
Package resourcemocks is a generated GoMock package.
Package resourcemocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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