MCPcopy
hub / github.com/google/seesaw / Backends

Method Backends

ecu/control.go:220–238  ·  view source on GitHub ↗

Backends returns a list of currently configured Backends.

(ctx *ipc.Context, reply *int)

Source from the content-addressed store, hash-verified

218
219// Backends returns a list of currently configured Backends.
220func (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.
241func (s *SeesawECU) OverrideBackend(args *ipc.Override, reply *int) error {

Callers

nothing calls this directly

Calls 4

traceMethod · 0.95
authConnectMethod · 0.80
CloseMethod · 0.65
BackendsMethod · 0.65

Tested by

no test coverage detected