type metricsTxnWrite … func newMetricsTxnRead(tr TxnRead) TxnRead { … } func newMetricsTxnWrite(tw TxnWrite) TxnWrite { … } func (tw *metricsTxnWrite) Range(ctx context.Context, key, end []byte, ro RangeOptions) (*RangeResult, error) { … } func (tw *metricsTxnWrite) DeleteRange(key, end []byte) (n, rev int64) { … } func (tw *metricsTxnWrite) Put(key, value []byte, lease lease.LeaseID) (rev int64) { … } func (tw *metricsTxnWrite) End() { … }