Esempio n. 1
0
func (m *Snapshot) String() string { return proto.CompactTextString(m) }
Esempio n. 2
0
func (m *Request) String() string { return proto.CompactTextString(m) }
Esempio n. 3
0
func (m *Metadata) String() string { return proto.CompactTextString(m) }
Esempio n. 4
0
func (m *KeyValue) String() string { return proto.CompactTextString(m) }
Esempio n. 5
0
func (m *Event) String() string { return proto.CompactTextString(m) }
Esempio n. 6
0
func (m *ConfState) String() string { return proto.CompactTextString(m) }
Esempio n. 7
0
func (m *ConfChange) String() string { return proto.CompactTextString(m) }
Esempio n. 8
0
func (m *Message) String() string { return proto.CompactTextString(m) }
Esempio n. 9
0
func (m *Entry) String() string { return proto.CompactTextString(m) }
Esempio n. 10
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)
	}
}
Esempio n. 11
0
func (m *Record) String() string { return proto.CompactTextString(m) }
Esempio n. 12
0
func (m *InternalRaftRequest) String() string { return proto.CompactTextString(m) }