tavernv1

package
v0.0.0-...-e836074 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Peer.ProtoReflect.Descriptor instead.

func (*Peer) GetAddr

func (x *Peer) GetAddr() string

func (*Peer) GetPublicKey

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

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) ProtoReflect

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

func (*Peer) Reset

func (x *Peer) Reset()

func (*Peer) String

func (x *Peer) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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