hashable

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2019 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Message string `codec:"msg"`
	// contains filtered or unexported fields
}

Message is used for messages with no special meaning

func (Message) ToBeHashed

func (msg Message) ToBeHashed() (protocol.HashID, []byte)

ToBeHashed implements the crypto.Hashable interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL