Documentation
¶
Index ¶
- type IPAddress
- func (*IPAddress) Descriptor() ([]byte, []int)
- func (m *IPAddress) GetIp() isIPAddress_Ip
- func (m *IPAddress) GetIpv4() uint32
- func (m *IPAddress) GetIpv6() *IPv6
- func (*IPAddress) ProtoMessage()
- func (m *IPAddress) Reset()
- func (m *IPAddress) String() string
- func (m *IPAddress) XXX_DiscardUnknown()
- func (m *IPAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IPAddress) XXX_Merge(src proto.Message)
- func (*IPAddress) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *IPAddress) XXX_Size() int
- func (m *IPAddress) XXX_Unmarshal(b []byte) error
- type IPAddress_Ipv4
- type IPAddress_Ipv6
- type IPv6
- func (*IPv6) Descriptor() ([]byte, []int)
- func (m *IPv6) GetFirst() uint64
- func (m *IPv6) GetLast() uint64
- func (*IPv6) ProtoMessage()
- func (m *IPv6) Reset()
- func (m *IPv6) String() string
- func (m *IPv6) XXX_DiscardUnknown()
- func (m *IPv6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IPv6) XXX_Merge(src proto.Message)
- func (m *IPv6) XXX_Size() int
- func (m *IPv6) XXX_Unmarshal(b []byte) error
- type TcpAddress
- func (*TcpAddress) Descriptor() ([]byte, []int)
- func (m *TcpAddress) GetIp() *IPAddress
- func (m *TcpAddress) GetPort() uint32
- func (*TcpAddress) ProtoMessage()
- func (m *TcpAddress) Reset()
- func (m *TcpAddress) String() string
- func (m *TcpAddress) XXX_DiscardUnknown()
- func (m *TcpAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TcpAddress) XXX_Merge(src proto.Message)
- func (m *TcpAddress) XXX_Size() int
- func (m *TcpAddress) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAddress ¶
type IPAddress struct {
// Types that are valid to be assigned to Ip:
// *IPAddress_Ipv4
// *IPAddress_Ipv6
Ip isIPAddress_Ip `protobuf_oneof:"ip"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IPAddress) Descriptor ¶
func (*IPAddress) ProtoMessage ¶
func (*IPAddress) ProtoMessage()
func (*IPAddress) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *IPAddress) XXX_DiscardUnknown()
func (*IPAddress) XXX_Marshal ¶ added in v0.1.2
func (*IPAddress) XXX_OneofFuncs ¶
func (*IPAddress) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*IPAddress) XXX_Unmarshal ¶ added in v0.1.2
type IPAddress_Ipv4 ¶
type IPAddress_Ipv4 struct {
Ipv4 uint32 `protobuf:"fixed32,1,opt,name=ipv4,proto3,oneof"`
}
type IPAddress_Ipv6 ¶
type IPAddress_Ipv6 struct {
Ipv6 *IPv6 `protobuf:"bytes,2,opt,name=ipv6,proto3,oneof"`
}
type IPv6 ¶
type IPv6 struct {
First uint64 `protobuf:"fixed64,1,opt,name=first,proto3" json:"first,omitempty"`
Last uint64 `protobuf:"fixed64,2,opt,name=last,proto3" json:"last,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IPv6) Descriptor ¶
func (*IPv6) ProtoMessage ¶
func (*IPv6) ProtoMessage()
func (*IPv6) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *IPv6) XXX_DiscardUnknown()
func (*IPv6) XXX_Marshal ¶ added in v0.1.2
func (*IPv6) XXX_Unmarshal ¶ added in v0.1.2
type TcpAddress ¶
type TcpAddress struct {
Ip *IPAddress `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,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:"-"`
}
func (*TcpAddress) Descriptor ¶
func (*TcpAddress) Descriptor() ([]byte, []int)
func (*TcpAddress) GetIp ¶
func (m *TcpAddress) GetIp() *IPAddress
func (*TcpAddress) GetPort ¶
func (m *TcpAddress) GetPort() uint32
func (*TcpAddress) ProtoMessage ¶
func (*TcpAddress) ProtoMessage()
func (*TcpAddress) Reset ¶
func (m *TcpAddress) Reset()
func (*TcpAddress) String ¶
func (m *TcpAddress) String() string
func (*TcpAddress) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *TcpAddress) XXX_DiscardUnknown()
func (*TcpAddress) XXX_Marshal ¶ added in v0.1.2
func (m *TcpAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TcpAddress) XXX_Merge ¶ added in v0.1.2
func (dst *TcpAddress) XXX_Merge(src proto.Message)
func (*TcpAddress) XXX_Size ¶ added in v0.1.2
func (m *TcpAddress) XXX_Size() int
func (*TcpAddress) XXX_Unmarshal ¶ added in v0.1.2
func (m *TcpAddress) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.