Versions in this module Expand all Collapse all v0 v0.0.51 Dec 11, 2024 Changes in this version + const OP_GET + const OP_GETMYADDRPORT + const OP_GETMYADDRPORT_ACK + const OP_GET_ACK + const OP_PING + const OP_PONG + const OP_PUT + const OP_PUT_ACK + type Get struct + DatKey string + PublicKey ed25519.PublicKey + func (g *Get) Unmarshal(buf []byte) error + func (g Get) Marshal(buf []byte) (int, error) + type Msg struct + AddrPorts []netip.AddrPort + AuthChallenge auth.AuthChallenge + AuthSolution *auth.AuthSolution + Entry *store.Entry + Get *Get + Op Op + Status *Status + func (msg *Msg) Marshal(buf []byte) (int, error) + func (msg *Msg) Unmarshal(buf []byte) error + type Op byte + type Status struct + Capacity int64 + UsedSpace int64 + func (s *Status) Unmarshal(buf []byte) error + func (s Status) Marshal(buf []byte) (int, error)