syntax = "proto3"; option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc"; option java_multiple_files = true; option java_package = "com.github.baez90.inetmock.rpc"; option java_outer_classname = "AuditProto"; option csharp_namespace = "INetMock.Client.Rpc"; import 'audit/event_entity.proto'; package inetmock.rpc; enum FileOpenMode { TRUNCATE = 0; APPEND = 1; } message WatchEventsRequest { string watcherName = 1; } message RegisterFileSinkRequest { string targetPath = 1; } message RegisterFileSinkResponse { string resolvedPath = 1; } message RemoveFileSinkRequest { string targetPath = 1; } message RemoveFileSinkResponse { bool SinkGotRemoved = 1; } message ListSinksRequest { } message ListSinksResponse { repeated string sinks = 1; } service Audit { rpc WatchEvents (WatchEventsRequest) returns (stream inetmock.audit.EventEntity); rpc RegisterFileSink (RegisterFileSinkRequest) returns (RegisterFileSinkResponse); rpc RemoveFileSink (RemoveFileSinkRequest) returns (RemoveFileSinkResponse); rpc ListSinks(ListSinksRequest) returns (ListSinksResponse); }