Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var File_autopeering_peer_proto_peer_proto protoreflect.FileDescriptor
    Functions ¶
This section is empty.
Types ¶
type Peer ¶
type Peer struct {
	// public key used for signing
	PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// string form of the peers ID
	Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	// services supported by the peer
	Services *proto1.ServiceMap `protobuf:"bytes,3,opt,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}
    Minimal encoding of a peer.
        
          
            func (*Peer) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Peer) GetPublicKey ¶
func (*Peer) GetServices ¶
func (x *Peer) GetServices() *proto1.ServiceMap
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.