chore: Rename structs to be more clear.
This commit is contained in:
parent
0b6e40a944
commit
b30d8150f3
9 changed files with 136 additions and 126 deletions
|
@ -19,16 +19,16 @@ func (backend *DummyBackend) StopBackend() (bool, error) {
|
|||
return true, nil
|
||||
}
|
||||
|
||||
func (backend *DummyBackend) StartProxy(command *commonbackend.AddConnectionCommand) (bool, error) {
|
||||
func (backend *DummyBackend) StartProxy(command *commonbackend.AddProxy) (bool, error) {
|
||||
return true, nil
|
||||
}
|
||||
|
||||
func (backend *DummyBackend) StopProxy(command *commonbackend.RemoveConnectionCommand) (bool, error) {
|
||||
func (backend *DummyBackend) StopProxy(command *commonbackend.RemoveProxy) (bool, error) {
|
||||
return true, nil
|
||||
}
|
||||
|
||||
func (backend *DummyBackend) GetAllClientConnections() []*commonbackend.ClientConnection {
|
||||
return []*commonbackend.ClientConnection{}
|
||||
func (backend *DummyBackend) GetAllClientConnections() []*commonbackend.ProxyClientConnection {
|
||||
return []*commonbackend.ProxyClientConnection{}
|
||||
}
|
||||
|
||||
func (backend *DummyBackend) CheckParametersForConnections(clientParameters *commonbackend.CheckClientParameters) *commonbackend.CheckParametersResponse {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue