Documentation ¶
Index ¶
- Variables
- type AnnounceRequest
- func (*AnnounceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnnounceRequest) GetAddr() string
- func (x *AnnounceRequest) GetHash() []byte
- func (x *AnnounceRequest) GetPublicKey() []byte
- func (*AnnounceRequest) ProtoMessage()
- func (x *AnnounceRequest) ProtoReflect() protoreflect.Message
- func (x *AnnounceRequest) Reset()
- func (x *AnnounceRequest) String() string
- type AnnounceResponse
- type ListRequest
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetInterval() int64
- func (x *ListResponse) GetPeers() []*Peer
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- type Peer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tavern_v1_tavern_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AnnounceRequest ¶
type AnnounceRequest struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*AnnounceRequest) Descriptor
deprecated
func (*AnnounceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnnounceRequest.ProtoReflect.Descriptor instead.
func (*AnnounceRequest) GetAddr ¶
func (x *AnnounceRequest) GetAddr() string
func (*AnnounceRequest) GetHash ¶
func (x *AnnounceRequest) GetHash() []byte
func (*AnnounceRequest) GetPublicKey ¶
func (x *AnnounceRequest) GetPublicKey() []byte
func (*AnnounceRequest) ProtoMessage ¶
func (*AnnounceRequest) ProtoMessage()
func (*AnnounceRequest) ProtoReflect ¶
func (x *AnnounceRequest) ProtoReflect() protoreflect.Message
func (*AnnounceRequest) Reset ¶
func (x *AnnounceRequest) Reset()
func (*AnnounceRequest) String ¶
func (x *AnnounceRequest) String() string
type AnnounceResponse ¶
type AnnounceResponse struct { Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
func (*AnnounceResponse) Descriptor
deprecated
func (*AnnounceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnnounceResponse.ProtoReflect.Descriptor instead.
func (*AnnounceResponse) GetInterval ¶
func (x *AnnounceResponse) GetInterval() int64
func (*AnnounceResponse) ProtoMessage ¶
func (*AnnounceResponse) ProtoMessage()
func (*AnnounceResponse) ProtoReflect ¶
func (x *AnnounceResponse) ProtoReflect() protoreflect.Message
func (*AnnounceResponse) Reset ¶
func (x *AnnounceResponse) Reset()
func (*AnnounceResponse) String ¶
func (x *AnnounceResponse) String() string
type ListRequest ¶
type ListRequest struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetHash ¶
func (x *ListRequest) GetHash() []byte
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` Interval int64 `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetInterval ¶
func (x *ListResponse) GetInterval() int64
func (*ListResponse) GetPeers ¶
func (x *ListResponse) GetPeers() []*Peer
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type Peer ¶
type Peer struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*Peer) Descriptor
deprecated
func (*Peer) GetPublicKey ¶
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) ProtoReflect ¶
func (x *Peer) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.