Documentation ¶
Index ¶
- Variables
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (m *Empty) Marshal() (dAtA []byte, err error)
- func (m *Empty) MarshalTo(dAtA []byte) (int, error)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) Size() (n int)
- func (m *Empty) String() string
- func (m *Empty) Unmarshal(dAtA []byte) error
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (m *Entry) GetData() []byte
- func (m *Entry) GetIndex() uint64
- func (m *Entry) Marshal() (dAtA []byte, err error)
- func (m *Entry) MarshalTo(dAtA []byte) (int, error)
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) Size() (n int)
- func (m *Entry) String() string
- func (m *Entry) Unmarshal(dAtA []byte) error
- func (m *Entry) XXX_DiscardUnknown()
- func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Entry) XXX_Merge(src proto.Message)
- func (m *Entry) XXX_Size() int
- func (m *Entry) XXX_Unmarshal(b []byte) error
- type Internode
- func (*Internode) Descriptor() ([]byte, []int)
- func (m *Internode) GetMessage() []byte
- func (m *Internode) GetPeerId() *PeerID
- func (m *Internode) Marshal() (dAtA []byte, err error)
- func (m *Internode) MarshalTo(dAtA []byte) (int, error)
- func (*Internode) ProtoMessage()
- func (m *Internode) Reset()
- func (m *Internode) Size() (n int)
- func (m *Internode) String() string
- func (m *Internode) Unmarshal(dAtA []byte) error
- func (m *Internode) XXX_DiscardUnknown()
- func (m *Internode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Internode) XXX_Merge(src proto.Message)
- func (m *Internode) XXX_Size() int
- func (m *Internode) XXX_Unmarshal(b []byte) error
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)
- func (m *Peer) GetAddress() []byte
- func (m *Peer) GetId() uint64
- func (m *Peer) Marshal() (dAtA []byte, err error)
- func (m *Peer) MarshalTo(dAtA []byte) (int, error)
- func (*Peer) ProtoMessage()
- func (m *Peer) Reset()
- func (m *Peer) Size() (n int)
- func (m *Peer) String() string
- func (m *Peer) Unmarshal(dAtA []byte) error
- func (m *Peer) XXX_DiscardUnknown()
- func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Peer) XXX_Merge(src proto.Message)
- func (m *Peer) XXX_Size() int
- func (m *Peer) XXX_Unmarshal(b []byte) error
- type PeerID
- func (*PeerID) Descriptor() ([]byte, []int)
- func (m *PeerID) GetAddress() []byte
- func (m *PeerID) Marshal() (dAtA []byte, err error)
- func (m *PeerID) MarshalTo(dAtA []byte) (int, error)
- func (*PeerID) ProtoMessage()
- func (m *PeerID) Reset()
- func (m *PeerID) Size() (n int)
- func (m *PeerID) String() string
- func (m *PeerID) Unmarshal(dAtA []byte) error
- func (m *PeerID) XXX_DiscardUnknown()
- func (m *PeerID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PeerID) XXX_Merge(src proto.Message)
- func (m *PeerID) XXX_Size() int
- func (m *PeerID) XXX_Unmarshal(b []byte) error
- type Peers
- func (*Peers) Descriptor() ([]byte, []int)
- func (m *Peers) GetPeers() []*Peer
- func (m *Peers) Marshal() (dAtA []byte, err error)
- func (m *Peers) MarshalTo(dAtA []byte) (int, error)
- func (*Peers) ProtoMessage()
- func (m *Peers) Reset()
- func (m *Peers) Size() (n int)
- func (m *Peers) String() string
- func (m *Peers) Unmarshal(dAtA []byte) error
- func (m *Peers) XXX_DiscardUnknown()
- func (m *Peers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Peers) XXX_Merge(src proto.Message)
- func (m *Peers) XXX_Size() int
- func (m *Peers) XXX_Unmarshal(b []byte) error
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)
- func (m *Proposal) GetData() []byte
- func (m *Proposal) Marshal() (dAtA []byte, err error)
- func (m *Proposal) MarshalTo(dAtA []byte) (int, error)
- func (*Proposal) ProtoMessage()
- func (m *Proposal) Reset()
- func (m *Proposal) Size() (n int)
- func (m *Proposal) String() string
- func (m *Proposal) Unmarshal(dAtA []byte) error
- func (m *Proposal) XXX_DiscardUnknown()
- func (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Proposal) XXX_Merge(src proto.Message)
- func (m *Proposal) XXX_Size() int
- func (m *Proposal) XXX_Unmarshal(b []byte) error
- type StatusInfo
- func (*StatusInfo) Descriptor() ([]byte, []int)
- func (m *StatusInfo) GetId() uint64
- func (m *StatusInfo) GetRunning() bool
- func (m *StatusInfo) Marshal() (dAtA []byte, err error)
- func (m *StatusInfo) MarshalTo(dAtA []byte) (int, error)
- func (*StatusInfo) ProtoMessage()
- func (m *StatusInfo) Reset()
- func (m *StatusInfo) Size() (n int)
- func (m *StatusInfo) String() string
- func (m *StatusInfo) Unmarshal(dAtA []byte) error
- func (m *StatusInfo) XXX_DiscardUnknown()
- func (m *StatusInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StatusInfo) XXX_Merge(src proto.Message)
- func (m *StatusInfo) XXX_Size() int
- func (m *StatusInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthRaft = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRaft = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶ added in v0.2.0
func (*Empty) XXX_Unmarshal ¶ added in v0.2.0
type Entry ¶
type Entry struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Entry) Descriptor ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *Entry) XXX_DiscardUnknown()
func (*Entry) XXX_Marshal ¶ added in v0.2.0
func (*Entry) XXX_Unmarshal ¶ added in v0.2.0
type Internode ¶
type Internode struct { PeerId *PeerID `protobuf:"bytes,1,opt,name=peer_id,json=peerId" json:"peer_id,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Internode) Descriptor ¶
func (*Internode) GetMessage ¶
func (*Internode) ProtoMessage ¶
func (*Internode) ProtoMessage()
func (*Internode) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *Internode) XXX_DiscardUnknown()
func (*Internode) XXX_Marshal ¶ added in v0.2.0
func (*Internode) XXX_Unmarshal ¶ added in v0.2.0
type Peer ¶
type Peer struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Peer) Descriptor ¶
func (*Peer) GetAddress ¶
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *Peer) XXX_DiscardUnknown()
func (*Peer) XXX_Marshal ¶ added in v0.2.0
func (*Peer) XXX_Unmarshal ¶ added in v0.2.0
type PeerID ¶
type PeerID struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PeerID) Descriptor ¶
func (*PeerID) GetAddress ¶
func (*PeerID) ProtoMessage ¶
func (*PeerID) ProtoMessage()
func (*PeerID) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *PeerID) XXX_DiscardUnknown()
func (*PeerID) XXX_Marshal ¶ added in v0.2.0
func (*PeerID) XXX_Unmarshal ¶ added in v0.2.0
type Peers ¶
type Peers struct { Peers []*Peer `protobuf:"bytes,1,rep,name=peers" json:"peers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Peers) Descriptor ¶
func (*Peers) ProtoMessage ¶
func (*Peers) ProtoMessage()
func (*Peers) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *Peers) XXX_DiscardUnknown()
func (*Peers) XXX_Marshal ¶ added in v0.2.0
func (*Peers) XXX_Unmarshal ¶ added in v0.2.0
type Proposal ¶
type Proposal struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Proposal) Descriptor ¶
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *Proposal) XXX_DiscardUnknown()
func (*Proposal) XXX_Marshal ¶ added in v0.2.0
func (*Proposal) XXX_Unmarshal ¶ added in v0.2.0
type StatusInfo ¶
type StatusInfo struct { Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusInfo) Descriptor ¶
func (*StatusInfo) Descriptor() ([]byte, []int)
func (*StatusInfo) GetId ¶
func (m *StatusInfo) GetId() uint64
func (*StatusInfo) GetRunning ¶
func (m *StatusInfo) GetRunning() bool
func (*StatusInfo) Marshal ¶
func (m *StatusInfo) Marshal() (dAtA []byte, err error)
func (*StatusInfo) ProtoMessage ¶
func (*StatusInfo) ProtoMessage()
func (*StatusInfo) Reset ¶
func (m *StatusInfo) Reset()
func (*StatusInfo) Size ¶
func (m *StatusInfo) Size() (n int)
func (*StatusInfo) String ¶
func (m *StatusInfo) String() string
func (*StatusInfo) Unmarshal ¶
func (m *StatusInfo) Unmarshal(dAtA []byte) error
func (*StatusInfo) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *StatusInfo) XXX_DiscardUnknown()
func (*StatusInfo) XXX_Marshal ¶ added in v0.2.0
func (m *StatusInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusInfo) XXX_Merge ¶ added in v0.2.0
func (dst *StatusInfo) XXX_Merge(src proto.Message)
func (*StatusInfo) XXX_Size ¶ added in v0.2.0
func (m *StatusInfo) XXX_Size() int
func (*StatusInfo) XXX_Unmarshal ¶ added in v0.2.0
func (m *StatusInfo) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.