Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAdminAuditLogAlreadyExists = errors.New("auditlog: admin auditlog already exists")
)
View Source
var (
ErrAuditLogAlreadyExists = errors.New("auditlog: auditlog already exists")
)
Functions ¶
This section is empty.
Types ¶
type AdminAuditLogStorage ¶
type AdminAuditLogStorage interface { CreateAdminAuditLogs(ctx context.Context, auditLogs []*domain.AuditLog) error ListAdminAuditLogs( ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int, ) ([]*proto.AuditLog, int, int64, error) }
func NewAdminAuditLogStorage ¶
func NewAdminAuditLogStorage(qe mysql.QueryExecer) AdminAuditLogStorage
type AuditLogStorage ¶
type AuditLogStorage interface { CreateAuditLogs(ctx context.Context, auditLogs []*domain.AuditLog) error ListAuditLogs( ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int, ) ([]*proto.AuditLog, int, int64, error) }
func NewAuditLogStorage ¶
func NewAuditLogStorage(qe mysql.QueryExecer) AuditLogStorage
Click to show internal directories.
Click to hide internal directories.