Documentation ¶
Index ¶
- Variables
- type Empty
- type Parcel
- func (*Parcel) Descriptor() ([]byte, []int)deprecated
- func (x *Parcel) GetCurrentHop() uint32
- func (x *Parcel) GetFrom() uint32
- func (x *Parcel) GetMaxHop() uint32
- func (x *Parcel) GetPost() *Parcel_Post
- func (x *Parcel) GetTo() uint32
- func (*Parcel) ProtoMessage()
- func (x *Parcel) ProtoReflect() protoreflect.Message
- func (x *Parcel) Reset()
- func (x *Parcel) String() string
- type Parcel_Post
- func (*Parcel_Post) Descriptor() ([]byte, []int)deprecated
- func (x *Parcel_Post) GetCategories() []uint32
- func (x *Parcel_Post) GetContent() string
- func (x *Parcel_Post) GetId() uint64
- func (x *Parcel_Post) GetServices() []uint32
- func (x *Parcel_Post) GetTitle() string
- func (*Parcel_Post) ProtoMessage()
- func (x *Parcel_Post) ProtoReflect() protoreflect.Message
- func (x *Parcel_Post) Reset()
- func (x *Parcel_Post) String() string
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) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
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) GetCurrentHop ¶
func (*Parcel) GetPost ¶
func (x *Parcel) GetPost() *Parcel_Post
func (*Parcel) ProtoMessage ¶
func (*Parcel) ProtoMessage()
func (*Parcel) ProtoReflect ¶
func (x *Parcel) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.