| 1274 | func (*NopWriteClient) Endpoint() string { return "http://test-remote.com/1234" } |
| 1275 | |
| 1276 | type MockWriteClient struct { |
| 1277 | StoreFunc func(context.Context, []byte, int) (WriteResponseStats, error) |
| 1278 | NameFunc func() string |
| 1279 | EndpointFunc func() string |
| 1280 | } |
| 1281 | |
| 1282 | func (c *MockWriteClient) Store(ctx context.Context, bb []byte, n int) (WriteResponseStats, error) { |
| 1283 | return c.StoreFunc(ctx, bb, n) |
nothing calls this directly
no outgoing calls
no test coverage detected