forked from Silverfish/proton-bridge
GODT-1650: Remove unused gRPC event (go side)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -344,7 +344,6 @@ message CacheEvent {
|
||||
CacheErrorEvent error = 1;
|
||||
CacheLocationChangeSuccessEvent locationChangedSuccess = 2;
|
||||
ChangeLocalCacheFinishedEvent changeLocalCacheFinished = 3;
|
||||
IsCacheOnDiskEnabledChanged isCacheOnDiskEnabledChanged = 4;
|
||||
DiskCachePathChanged diskCachePathChanged = 5;
|
||||
}
|
||||
}
|
||||
@ -365,11 +364,6 @@ message ChangeLocalCacheFinishedEvent {
|
||||
bool willRestart = 1;
|
||||
};
|
||||
|
||||
|
||||
message IsCacheOnDiskEnabledChanged {
|
||||
bool enabled = 1;
|
||||
}
|
||||
|
||||
message DiskCachePathChanged {
|
||||
string path = 1;
|
||||
}
|
||||
|
||||
@ -8,7 +8,6 @@ package grpc
|
||||
|
||||
import (
|
||||
context "context"
|
||||
|
||||
grpc "google.golang.org/grpc"
|
||||
codes "google.golang.org/grpc/codes"
|
||||
status "google.golang.org/grpc/status"
|
||||
|
||||
@ -111,10 +111,6 @@ func NewCacheChangeLocalCacheFinishedEvent(willRestart bool) *StreamEvent {
|
||||
}})
|
||||
}
|
||||
|
||||
func NewIsCacheOnDiskEnabledChanged(enabled bool) *StreamEvent {
|
||||
return cacheEvent(&CacheEvent{Event: &CacheEvent_IsCacheOnDiskEnabledChanged{IsCacheOnDiskEnabledChanged: &IsCacheOnDiskEnabledChanged{Enabled: enabled}}})
|
||||
}
|
||||
|
||||
func NewDiskCachePathChanged(path string) *StreamEvent {
|
||||
return cacheEvent(&CacheEvent{Event: &CacheEvent_DiskCachePathChanged{DiskCachePathChanged: &DiskCachePathChanged{Path: path}}})
|
||||
}
|
||||
|
||||
@ -130,7 +130,6 @@ func (s *Service) StartEventTest() error { //nolint:funlen
|
||||
NewCacheErrorEvent(CacheErrorType_CACHE_UNAVAILABLE_ERROR),
|
||||
NewCacheLocationChangeSuccessEvent(),
|
||||
NewCacheChangeLocalCacheFinishedEvent(true),
|
||||
NewIsCacheOnDiskEnabledChanged(true),
|
||||
NewDiskCachePathChanged("/dummy/path"),
|
||||
|
||||
// mail settings
|
||||
|
||||
Reference in New Issue
Block a user