security/authorization/audit.go
2024-09-30 19:02:10 -04:00

23 lines
274 B
Go

package authorization
import (
"time"
"somehole.com/common/security/identity"
)
type record struct {
Verb
Noun
time.Time
}
type AuditService struct {
records map[identity.Id][]record
}
func NewAuditService() (srv *AuditService) {
srv = &AuditService{}
return
}