Documentation ¶
Index ¶
- type NetworkAddress
- func (*NetworkAddress) Descriptor() ([]byte, []int)
- func (m *NetworkAddress) GetNetwork() string
- func (m *NetworkAddress) GetPort() uint32
- func (*NetworkAddress) ProtoMessage()
- func (m *NetworkAddress) Reset()
- func (m *NetworkAddress) String() string
- func (m *NetworkAddress) XXX_DiscardUnknown()
- func (m *NetworkAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkAddress) XXX_Merge(src proto.Message)
- func (m *NetworkAddress) XXX_Size() int
- func (m *NetworkAddress) XXX_Unmarshal(b []byte) error
- type ServiceMap
- func (*ServiceMap) Descriptor() ([]byte, []int)
- func (m *ServiceMap) GetMap() map[string]*NetworkAddress
- func (*ServiceMap) ProtoMessage()
- func (m *ServiceMap) Reset()
- func (m *ServiceMap) String() string
- func (m *ServiceMap) XXX_DiscardUnknown()
- func (m *ServiceMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceMap) XXX_Merge(src proto.Message)
- func (m *ServiceMap) XXX_Size() int
- func (m *ServiceMap) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkAddress ¶
type NetworkAddress struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The service type (e.g., tcp, upd) and the address (e.g., 198.51.100.1:80)
func (*NetworkAddress) Descriptor ¶
func (*NetworkAddress) Descriptor() ([]byte, []int)
func (*NetworkAddress) GetNetwork ¶
func (m *NetworkAddress) GetNetwork() string
func (*NetworkAddress) GetPort ¶
func (m *NetworkAddress) GetPort() uint32
func (*NetworkAddress) ProtoMessage ¶
func (*NetworkAddress) ProtoMessage()
func (*NetworkAddress) Reset ¶
func (m *NetworkAddress) Reset()
func (*NetworkAddress) String ¶
func (m *NetworkAddress) String() string
func (*NetworkAddress) XXX_DiscardUnknown ¶
func (m *NetworkAddress) XXX_DiscardUnknown()
func (*NetworkAddress) XXX_Marshal ¶
func (m *NetworkAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkAddress) XXX_Merge ¶
func (m *NetworkAddress) XXX_Merge(src proto.Message)
func (*NetworkAddress) XXX_Size ¶
func (m *NetworkAddress) XXX_Size() int
func (*NetworkAddress) XXX_Unmarshal ¶
func (m *NetworkAddress) XXX_Unmarshal(b []byte) error
type ServiceMap ¶
type ServiceMap struct { Map map[string]*NetworkAddress `` /* 147-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Mapping between a service ID and its tuple network_address e.g., map[autopeering:&{tcp, 198.51.100.1:80}]
func (*ServiceMap) Descriptor ¶
func (*ServiceMap) Descriptor() ([]byte, []int)
func (*ServiceMap) GetMap ¶
func (m *ServiceMap) GetMap() map[string]*NetworkAddress
func (*ServiceMap) ProtoMessage ¶
func (*ServiceMap) ProtoMessage()
func (*ServiceMap) Reset ¶
func (m *ServiceMap) Reset()
func (*ServiceMap) String ¶
func (m *ServiceMap) String() string
func (*ServiceMap) XXX_DiscardUnknown ¶
func (m *ServiceMap) XXX_DiscardUnknown()
func (*ServiceMap) XXX_Marshal ¶
func (m *ServiceMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceMap) XXX_Merge ¶
func (m *ServiceMap) XXX_Merge(src proto.Message)
func (*ServiceMap) XXX_Size ¶
func (m *ServiceMap) XXX_Size() int
func (*ServiceMap) XXX_Unmarshal ¶
func (m *ServiceMap) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.