(db database.Store, internal bool)
| 19 | } |
| 20 | |
| 21 | func NewPostgres(db database.Store, internal bool) audit.Backend { |
| 22 | return &postgresBackend{db: db, internal: internal} |
| 23 | } |
| 24 | |
| 25 | func (b *postgresBackend) Decision() audit.FilterDecision { |
| 26 | if b.internal { |
no outgoing calls