Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • trading_hours
  • refactor_trading_hours
  • audit_cleaning_cater_for_non_struct_fields
  • remove-info-logs
  • sl-refactor
  • 18-use-scan-for-param-values
  • 17-order-search-results
  • 4-simplify-framework-2
  • 1-http-error
  • v1.296.0
  • v1.295.0
  • v1.294.0
  • v1.293.0
  • v1.292.0
  • v1.291.0
  • v1.290.0
  • v1.289.0
  • v1.288.0
  • v1.287.0
  • v1.286.0
  • v1.285.0
  • v1.284.0
  • v1.283.0
  • v1.282.0
  • v1.281.0
  • v1.280.0
  • v1.279.0
  • v1.278.0
  • v1.277.0
30 results

no_audit.go

Blame
  • no_audit.go 348 B
    package audit
    
    import (
    	"time"
    )
    
    //creates auditor that writes nothiong
    func None() Auditor {
    	return noAudit{}
    }
    
    type noAudit struct{}
    
    func (noAudit) WriteValues(startTime, endTime time.Time, requestID string, values map[string]interface{}) error {
    	return nil
    }
    
    func (noAudit) WriteEvent(requestID string, event Event) error {
    	return nil
    }