Documentation ¶
Index ¶
- Variables
- type NodeData
- func (*NodeData) Descriptor() ([]byte, []int)
- func (this *NodeData) Equal(that interface{}) bool
- func (m *NodeData) GetHttpProxyPort() uint32
- func (m *NodeData) GetJsonRpcPort() uint32
- func (m *NodeData) GetPublicKey() []byte
- func (m *NodeData) GetWebsocketPort() uint32
- func (this *NodeData) GoString() string
- func (m *NodeData) Marshal() (dAtA []byte, err error)
- func (m *NodeData) MarshalTo(dAtA []byte) (int, error)
- func (*NodeData) ProtoMessage()
- func (m *NodeData) Reset()
- func (m *NodeData) Size() (n int)
- func (this *NodeData) String() string
- func (m *NodeData) Unmarshal(dAtA []byte) error
- func (m *NodeData) XXX_DiscardUnknown()
- func (m *NodeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NodeData) XXX_Merge(src proto.Message)
- func (m *NodeData) XXX_Size() int
- func (m *NodeData) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthNode = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNode = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type NodeData ¶
type NodeData struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` WebsocketPort uint32 `protobuf:"varint,2,opt,name=websocket_port,json=websocketPort,proto3" json:"websocket_port,omitempty"` JsonRpcPort uint32 `protobuf:"varint,3,opt,name=json_rpc_port,json=jsonRpcPort,proto3" json:"json_rpc_port,omitempty"` HttpProxyPort uint32 `protobuf:"varint,4,opt,name=http_proxy_port,json=httpProxyPort,proto3" json:"http_proxy_port,omitempty"` }
func NewPopulatedNodeData ¶
func (*NodeData) Descriptor ¶
func (*NodeData) GetHttpProxyPort ¶
func (*NodeData) GetJsonRpcPort ¶
func (*NodeData) GetPublicKey ¶
func (*NodeData) GetWebsocketPort ¶
func (*NodeData) ProtoMessage ¶
func (*NodeData) ProtoMessage()
func (*NodeData) XXX_DiscardUnknown ¶
func (m *NodeData) XXX_DiscardUnknown()
func (*NodeData) XXX_Marshal ¶
func (*NodeData) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.