Method
ListBindings
(_ context.Context, _ string)
Source from the content-addressed store, hash-verified
| 85 | } |
| 86 | |
| 87 | func (f *fakeHubClient) ListBindings(_ context.Context, _ string) ([]models.HubBinding, error) { |
| 88 | f.mu.Lock() |
| 89 | defer f.mu.Unlock() |
| 90 | return append([]models.HubBinding(nil), f.bindings...), nil |
| 91 | } |
| 92 | |
| 93 | // seed appends events to the current conversation (used to simulate turns |
| 94 | // written by another channel between local turns). |
Callers
nothing calls this directly
Tested by
no test coverage detected