| Index: filter/count/mc.go
|
| diff --git a/filter/count/mc.go b/filter/count/mc.go
|
| index 1000140890092084001d18c9cf2eea496baeaf95..7560ad13707b2ec79e0d5d21e55afd0e6c2379d9 100644
|
| --- a/filter/count/mc.go
|
| +++ b/filter/count/mc.go
|
| @@ -71,6 +71,16 @@ func (m *mcCounter) Stats() (*mc.Statistics, error) {
|
| // FilterMC installs a counter Memcache filter in the context.
|
| func FilterMC(c context.Context) (context.Context, *MCCounter) {
|
| state := &MCCounter{}
|
| + state.NewItem.init()
|
| + state.AddMulti.init()
|
| + state.SetMulti.init()
|
| + state.GetMulti.init()
|
| + state.DeleteMulti.init()
|
| + state.CompareAndSwapMulti.init()
|
| + state.Increment.init()
|
| + state.Flush.init()
|
| + state.Stats.init()
|
| +
|
| return mc.AddRawFilters(c, func(ic context.Context, mc mc.RawInterface) mc.RawInterface {
|
| return &mcCounter{state, mc}
|
| }), state
|
|
|