proto_gossip

package
v0.0.0-...-6dc7df5 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_gossip_gossip_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Parcel

type Parcel struct {
	From       uint32       `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"`
	To         uint32       `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"`
	CurrentHop uint32       `protobuf:"varint,3,opt,name=current_hop,json=currentHop,proto3" json:"current_hop,omitempty"`
	MaxHop     uint32       `protobuf:"varint,4,opt,name=max_hop,json=maxHop,proto3" json:"max_hop,omitempty"`
	Post       *Parcel_Post `protobuf:"bytes,5,opt,name=post,proto3" json:"post,omitempty"`
	// contains filtered or unexported fields
}

func (*Parcel) Descriptor deprecated

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

Deprecated: Use Parcel.ProtoReflect.Descriptor instead.

func (*Parcel) GetCurrentHop

func (x *Parcel) GetCurrentHop() uint32

func (*Parcel) GetFrom

func (x *Parcel) GetFrom() uint32

func (*Parcel) GetMaxHop

func (x *Parcel) GetMaxHop() uint32

func (*Parcel) GetPost

func (x *Parcel) GetPost() *Parcel_Post

func (*Parcel) GetTo

func (x *Parcel) GetTo() uint32

func (*Parcel) ProtoMessage

func (*Parcel) ProtoMessage()

func (*Parcel) ProtoReflect

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

func (*Parcel) Reset

func (x *Parcel) Reset()

func (*Parcel) String

func (x *Parcel) String() string

type Parcel_Post

type Parcel_Post struct {
	Id         uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title      string   `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Content    string   `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Services   []uint32 `protobuf:"varint,4,rep,packed,name=services,proto3" json:"services,omitempty"`
	Categories []uint32 `protobuf:"varint,5,rep,packed,name=categories,proto3" json:"categories,omitempty"`
	// contains filtered or unexported fields
}

func (*Parcel_Post) Descriptor deprecated

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

Deprecated: Use Parcel_Post.ProtoReflect.Descriptor instead.

func (*Parcel_Post) GetCategories

func (x *Parcel_Post) GetCategories() []uint32

func (*Parcel_Post) GetContent

func (x *Parcel_Post) GetContent() string

func (*Parcel_Post) GetId

func (x *Parcel_Post) GetId() uint64

func (*Parcel_Post) GetServices

func (x *Parcel_Post) GetServices() []uint32

func (*Parcel_Post) GetTitle

func (x *Parcel_Post) GetTitle() string

func (*Parcel_Post) ProtoMessage

func (*Parcel_Post) ProtoMessage()

func (*Parcel_Post) ProtoReflect

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

func (*Parcel_Post) Reset

func (x *Parcel_Post) Reset()

func (*Parcel_Post) String

func (x *Parcel_Post) String() string

Jump to

Keyboard shortcuts

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