Documentation ¶
Index ¶
- Variables
- func AddAuditEvent(audit bson.M) error
- func AddHistoryEvent(historyEvent bson.M) error
- func AddOperationAudit(params graphql.ResolveParams, no string, ne string, errExecOper error)
- func GetAuditEvents() (*[]models.AuditEvent, error)
- func GetConsultGraphql(r *http.Request) (*models.RequestOptions, error)
- func GetHistoryEvent(id primitive.ObjectID) (*models.HistoryEvent, error)
- func GetHistoryEvents() (*[]models.HistoryEvent, error)
- func GetRemoteIp(r *http.Request) (string, error)
- func RemoveHistoryEvent(idHistoryEvent primitive.ObjectID) error
- func ValidatePermissionToOperation(params graphql.ResolveParams) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Colaudit = "auditEvents"
)
View Source
var Colhistory = "historyEvents"
Functions ¶
func AddAuditEvent ¶
func AddHistoryEvent ¶
func AddOperationAudit ¶
func AddOperationAudit(params graphql.ResolveParams, no string, ne string, errExecOper error)
func GetAuditEvents ¶
func GetAuditEvents() (*[]models.AuditEvent, error)
func GetConsultGraphql ¶
func GetConsultGraphql(r *http.Request) (*models.RequestOptions, error)
func GetHistoryEvent ¶
func GetHistoryEvent(id primitive.ObjectID) (*models.HistoryEvent, error)
func GetHistoryEvents ¶
func GetHistoryEvents() (*[]models.HistoryEvent, error)
func RemoveHistoryEvent ¶
func ValidatePermissionToOperation ¶
func ValidatePermissionToOperation(params graphql.ResolveParams) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.