serialization

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_serialization_cl_dht_addr_announcement_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SignedAnnouncement

type SignedAnnouncement struct {
	Addrs      [][]byte `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
	UserPrefix uint32   `protobuf:"varint,2,opt,name=userPrefix,proto3" json:"userPrefix,omitempty"`
	Counter    uint64   `protobuf:"varint,3,opt,name=counter,proto3" json:"counter,omitempty"`
	PublicKey  []byte   `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Sig        []byte   `protobuf:"bytes,5,opt,name=sig,proto3" json:"sig,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedAnnouncement) Descriptor deprecated

func (*SignedAnnouncement) Descriptor() ([]byte, []int)

Deprecated: Use SignedAnnouncement.ProtoReflect.Descriptor instead.

func (*SignedAnnouncement) GetAddrs

func (x *SignedAnnouncement) GetAddrs() [][]byte

func (*SignedAnnouncement) GetCounter

func (x *SignedAnnouncement) GetCounter() uint64

func (*SignedAnnouncement) GetPublicKey

func (x *SignedAnnouncement) GetPublicKey() []byte

func (*SignedAnnouncement) GetSig

func (x *SignedAnnouncement) GetSig() []byte

func (*SignedAnnouncement) GetUserPrefix

func (x *SignedAnnouncement) GetUserPrefix() uint32

func (*SignedAnnouncement) ProtoMessage

func (*SignedAnnouncement) ProtoMessage()

func (*SignedAnnouncement) ProtoReflect

func (x *SignedAnnouncement) ProtoReflect() protoreflect.Message

func (*SignedAnnouncement) Reset

func (x *SignedAnnouncement) Reset()

func (*SignedAnnouncement) String

func (x *SignedAnnouncement) String() string

Jump to

Keyboard shortcuts

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