dto

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthEventLogin   string = "login"
	AuthEventLogoff  string = "logoff"
	AuthEventRefresh string = "refresh"
	AuthEventRevoke  string = "revoke"
)
View Source
const (
	DataEventCreate string = "create"
	DataEventChange string = "change"
	DataEventRemove string = "remove"
)
View Source
const (
	AuditStatusSuccess string = "success"
	AuditStatusFail    string = "fail"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthAuditDTO

type AuthAuditDTO struct {
	Source       string    `json:"source,omitempty"`
	EventDate    time.Time `json:"event_date,omitempty"`
	Event        string    `json:"event,omitempty"`
	Status       string    `json:"status,omitempty"`
	RequestID    string    `json:"request_id,omitempty"`
	TraceID      string    `json:"trace_id,omitempty"`
	Username     string    `json:"username,omitempty"`
	AccessToken  string    `json:"access_token,omitempty"`
	RefreshToken string    `json:"refresh_token,omitempty"`
}

type DataAuditDTO

type DataAuditDTO struct {
	Source           string               `json:"source,omitempty"`
	EventDate        time.Time            `json:"event_date,omitempty"`
	Event            string               `json:"event,omitempty"`
	Status           string               `json:"status,omitempty"`
	RequestID        string               `json:"request_id,omitempty"`
	TraceID          string               `json:"trace_id,omitempty"`
	Username         string               `json:"username,omitempty"`
	InternalTypeName string               `json:"internal_type_name,omitempty"`
	TypeName         string               `json:"type_name,omitempty"`
	TypeDescription  string               `json:"type_description,omitempty"`
	InstanceID       string               `json:"instance_id,omitempty"`
	InstanceName     string               `json:"instance_name,omitempty"`
	Values           []*DataAuditValueDTO `json:"values,omitempty"`
}

type DataAuditValueDTO

type DataAuditValueDTO struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Before      string `json:"before"`
	After       string `json:"after"`
}

Jump to

Keyboard shortcuts

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