Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateChecksum ¶
func ValidateIdentifier ¶
Types ¶
type Address ¶
type Address struct {
Version, Privacy byte
Identifier string
Key *ecdsa.PrivateKey
}
func NewAddress ¶
type ConnectMessage ¶
type ConnectMessage struct {
Timestamp int64
}
func NewConnectMessage ¶
func NewConnectMessage() *ConnectMessage
func (*ConnectMessage) Deserialize ¶
func (cm *ConnectMessage) Deserialize(packet []byte) error
func (*ConnectMessage) Serialize ¶
func (cm *ConnectMessage) Serialize() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.