diff options
Diffstat (limited to 'src/gnunet/message/msg_namecache.go')
-rw-r--r-- | src/gnunet/message/msg_namecache.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnunet/message/msg_namecache.go b/src/gnunet/message/msg_namecache.go index 8f82622..9e3312d 100644 --- a/src/gnunet/message/msg_namecache.go +++ b/src/gnunet/message/msg_namecache.go | |||
@@ -33,7 +33,7 @@ func NewNamecacheLookupMsg(query *crypto.HashCode) *NamecacheLookupMsg { | |||
33 | } | 33 | } |
34 | } | 34 | } |
35 | 35 | ||
36 | // String | 36 | // String returns a human-readable representation of the message. |
37 | func (m *NamecacheLookupMsg) String() string { | 37 | func (m *NamecacheLookupMsg) String() string { |
38 | return fmt.Sprintf("NamecacheLookupMsg{Id=%d,Query=%s}", | 38 | return fmt.Sprintf("NamecacheLookupMsg{Id=%d,Query=%s}", |
39 | m.Id, hex.EncodeToString(m.Query.Bits)) | 39 | m.Id, hex.EncodeToString(m.Query.Bits)) |
@@ -72,7 +72,7 @@ func NewNamecacheLookupResultMsg() *NamecacheLookupResultMsg { | |||
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||
75 | // String | 75 | // String returns a human-readable representation of the message. |
76 | func (m *NamecacheLookupResultMsg) String() string { | 76 | func (m *NamecacheLookupResultMsg) String() string { |
77 | return fmt.Sprintf("NamecacheLookupResultMsg{id=%d,expire=%s}", | 77 | return fmt.Sprintf("NamecacheLookupResultMsg{id=%d,expire=%s}", |
78 | m.Id, m.Expire) | 78 | m.Id, m.Expire) |