forked from mirror/client_golang
Purge another trace of ext -> pbutil.
This commit is contained in:
parent
419b21ce61
commit
63acb006f7
|
@ -194,8 +194,8 @@ func EnableCollectChecks(b bool) {
|
||||||
|
|
||||||
// encoder is a function that writes a dto.MetricFamily to an io.Writer in a
|
// encoder is a function that writes a dto.MetricFamily to an io.Writer in a
|
||||||
// certain encoding. It returns the number of bytes written and any error
|
// certain encoding. It returns the number of bytes written and any error
|
||||||
// encountered. Note that ext.WriteDelimited and text.MetricFamilyToText are
|
// encountered. Note that pbutil.WriteDelimited and pbutil.MetricFamilyToText
|
||||||
// encoders.
|
// are encoders.
|
||||||
type encoder func(io.Writer, *dto.MetricFamily) (int, error)
|
type encoder func(io.Writer, *dto.MetricFamily) (int, error)
|
||||||
|
|
||||||
type registry struct {
|
type registry struct {
|
||||||
|
|
Loading…
Reference in New Issue