MCPcopy
hub / github.com/syncthing/syncthing / newAuditService

Function newAuditService

lib/syncthing/auditservice.go:25–30  ·  view source on GitHub ↗
(w io.Writer, evLogger events.Logger)

Source from the content-addressed store, hash-verified

23}
24
25func newAuditService(w io.Writer, evLogger events.Logger) *auditService {
26 return &auditService{
27 w: w,
28 evLogger: evLogger,
29 }
30}
31
32// serve runs the audit service.
33func (s *auditService) Serve(ctx context.Context) error {

Callers 2

startupMethod · 0.85
TestAuditServiceFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestAuditServiceFunction · 0.68