예제 #1
0
func TestCompactText(t *testing.T) {
	s := proto.CompactTextString(newTestMessage())
	if s != compactText {
		t.Errorf("Got:\n===\n%v===\nExpected:\n===\n%v\n===\n", s, compactText)
	}
}
예제 #2
0
func (m *MetricFamily) String() string { return proto.CompactTextString(m) }
예제 #3
0
func (m *LabelPair) String() string { return proto.CompactTextString(m) }
예제 #4
0
func (m *Histogram) String() string { return proto.CompactTextString(m) }
예제 #5
0
func (m *Bucket) String() string { return proto.CompactTextString(m) }
예제 #6
0
func (m *Summary) String() string { return proto.CompactTextString(m) }
예제 #7
0
func (m *Untyped) String() string { return proto.CompactTextString(m) }
예제 #8
0
func (m *Counter) String() string { return proto.CompactTextString(m) }
예제 #9
0
func (m *Quantile) String() string { return proto.CompactTextString(m) }
예제 #10
0
func (m *Gauge) String() string { return proto.CompactTextString(m) }
예제 #11
0
func (m *Message) String() string { return proto.CompactTextString(m) }
예제 #12
0
func (m *Nested) String() string { return proto.CompactTextString(m) }
예제 #13
0
func (m *PrivateKey) String() string { return proto.CompactTextString(m) }
예제 #14
0
func (m *PublicKey) String() string { return proto.CompactTextString(m) }