Backends returns a list of currently configured Backends.
(ctx *ipc.Context, reply *int)
| 218 | |
| 219 | // Backends returns a list of currently configured Backends. |
| 220 | func (s *SeesawECU) Backends(ctx *ipc.Context, reply *int) error { |
| 221 | s.trace("Backends", ctx) |
| 222 | |
| 223 | authConn, err := s.ecu.authConnect(ctx) |
| 224 | if err != nil { |
| 225 | return err |
| 226 | } |
| 227 | defer authConn.Close() |
| 228 | |
| 229 | backends, err := authConn.Backends() |
| 230 | if err != nil { |
| 231 | return err |
| 232 | } |
| 233 | |
| 234 | if reply != nil { |
| 235 | _ = backends |
| 236 | } |
| 237 | return nil |
| 238 | } |
| 239 | |
| 240 | // OverrideBackend requests that the specified BackendOverride be applied. |
| 241 | func (s *SeesawECU) OverrideBackend(args *ipc.Override, reply *int) error { |
nothing calls this directly
no test coverage detected