Documentation ¶
Index ¶
- func RegisterNetworkHandler(s server.Server, hdlr NetworkHandler, opts ...server.HandlerOption) error
- type Close
- func (*Close) Descriptor() ([]byte, []int)
- func (m *Close) GetNode() *Node
- func (*Close) ProtoMessage()
- func (m *Close) Reset()
- func (m *Close) String() string
- func (m *Close) XXX_DiscardUnknown()
- func (m *Close) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Close) XXX_Merge(src proto.Message)
- func (m *Close) XXX_Size() int
- func (m *Close) XXX_Unmarshal(b []byte) error
- type Connect
- func (*Connect) Descriptor() ([]byte, []int)
- func (m *Connect) GetNode() *Node
- func (*Connect) ProtoMessage()
- func (m *Connect) Reset()
- func (m *Connect) String() string
- func (m *Connect) XXX_DiscardUnknown()
- func (m *Connect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Connect) XXX_Merge(src proto.Message)
- func (m *Connect) XXX_Size() int
- func (m *Connect) XXX_Unmarshal(b []byte) error
- type ConnectRequest
- func (*ConnectRequest) Descriptor() ([]byte, []int)
- func (m *ConnectRequest) GetNodes() []*Node
- func (*ConnectRequest) ProtoMessage()
- func (m *ConnectRequest) Reset()
- func (m *ConnectRequest) String() string
- func (m *ConnectRequest) XXX_DiscardUnknown()
- func (m *ConnectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConnectRequest) XXX_Merge(src proto.Message)
- func (m *ConnectRequest) XXX_Size() int
- func (m *ConnectRequest) XXX_Unmarshal(b []byte) error
- type ConnectResponse
- func (*ConnectResponse) Descriptor() ([]byte, []int)
- func (*ConnectResponse) ProtoMessage()
- func (m *ConnectResponse) Reset()
- func (m *ConnectResponse) String() string
- func (m *ConnectResponse) XXX_DiscardUnknown()
- func (m *ConnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConnectResponse) XXX_Merge(src proto.Message)
- func (m *ConnectResponse) XXX_Size() int
- func (m *ConnectResponse) XXX_Unmarshal(b []byte) error
- type GraphRequest
- func (*GraphRequest) Descriptor() ([]byte, []int)
- func (m *GraphRequest) GetDepth() uint32
- func (*GraphRequest) ProtoMessage()
- func (m *GraphRequest) Reset()
- func (m *GraphRequest) String() string
- func (m *GraphRequest) XXX_DiscardUnknown()
- func (m *GraphRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GraphRequest) XXX_Merge(src proto.Message)
- func (m *GraphRequest) XXX_Size() int
- func (m *GraphRequest) XXX_Unmarshal(b []byte) error
- type GraphResponse
- func (*GraphResponse) Descriptor() ([]byte, []int)
- func (m *GraphResponse) GetRoot() *Peer
- func (*GraphResponse) ProtoMessage()
- func (m *GraphResponse) Reset()
- func (m *GraphResponse) String() string
- func (m *GraphResponse) XXX_DiscardUnknown()
- func (m *GraphResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GraphResponse) XXX_Merge(src proto.Message)
- func (m *GraphResponse) XXX_Size() int
- func (m *GraphResponse) XXX_Unmarshal(b []byte) error
- type NetworkHandler
- type NetworkService
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetAddress() string
- func (m *Node) GetId() string
- func (m *Node) GetMetadata() map[string]string
- func (m *Node) GetNetwork() string
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type NodesRequest
- func (*NodesRequest) Descriptor() ([]byte, []int)
- func (m *NodesRequest) GetDepth() uint32
- func (*NodesRequest) ProtoMessage()
- func (m *NodesRequest) Reset()
- func (m *NodesRequest) String() string
- func (m *NodesRequest) XXX_DiscardUnknown()
- func (m *NodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodesRequest) XXX_Merge(src proto.Message)
- func (m *NodesRequest) XXX_Size() int
- func (m *NodesRequest) XXX_Unmarshal(b []byte) error
- type NodesResponse
- func (*NodesResponse) Descriptor() ([]byte, []int)
- func (m *NodesResponse) GetNodes() []*Node
- func (*NodesResponse) ProtoMessage()
- func (m *NodesResponse) Reset()
- func (m *NodesResponse) String() string
- func (m *NodesResponse) XXX_DiscardUnknown()
- func (m *NodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodesResponse) XXX_Merge(src proto.Message)
- func (m *NodesResponse) XXX_Size() int
- func (m *NodesResponse) XXX_Unmarshal(b []byte) error
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)
- func (m *Peer) GetNode() *Node
- func (m *Peer) GetPeers() []*Peer
- func (*Peer) ProtoMessage()
- func (m *Peer) Reset()
- func (m *Peer) String() string
- func (m *Peer) XXX_DiscardUnknown()
- func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Peer) XXX_Merge(src proto.Message)
- func (m *Peer) XXX_Size() int
- func (m *Peer) XXX_Unmarshal(b []byte) error
- type Query
- func (*Query) Descriptor() ([]byte, []int)
- func (m *Query) GetAddress() string
- func (m *Query) GetGateway() string
- func (m *Query) GetNetwork() string
- func (m *Query) GetRouter() string
- func (m *Query) GetService() string
- func (*Query) ProtoMessage()
- func (m *Query) Reset()
- func (m *Query) String() string
- func (m *Query) XXX_DiscardUnknown()
- func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Query) XXX_Merge(src proto.Message)
- func (m *Query) XXX_Size() int
- func (m *Query) XXX_Unmarshal(b []byte) error
- type RoutesRequest
- func (*RoutesRequest) Descriptor() ([]byte, []int)
- func (m *RoutesRequest) GetQuery() *Query
- func (*RoutesRequest) ProtoMessage()
- func (m *RoutesRequest) Reset()
- func (m *RoutesRequest) String() string
- func (m *RoutesRequest) XXX_DiscardUnknown()
- func (m *RoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoutesRequest) XXX_Merge(src proto.Message)
- func (m *RoutesRequest) XXX_Size() int
- func (m *RoutesRequest) XXX_Unmarshal(b []byte) error
- type RoutesResponse
- func (*RoutesResponse) Descriptor() ([]byte, []int)
- func (m *RoutesResponse) GetRoutes() []*proto1.Route
- func (*RoutesResponse) ProtoMessage()
- func (m *RoutesResponse) Reset()
- func (m *RoutesResponse) String() string
- func (m *RoutesResponse) XXX_DiscardUnknown()
- func (m *RoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoutesResponse) XXX_Merge(src proto.Message)
- func (m *RoutesResponse) XXX_Size() int
- func (m *RoutesResponse) XXX_Unmarshal(b []byte) error
- type ServicesRequest
- func (*ServicesRequest) Descriptor() ([]byte, []int)
- func (*ServicesRequest) ProtoMessage()
- func (m *ServicesRequest) Reset()
- func (m *ServicesRequest) String() string
- func (m *ServicesRequest) XXX_DiscardUnknown()
- func (m *ServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServicesRequest) XXX_Merge(src proto.Message)
- func (m *ServicesRequest) XXX_Size() int
- func (m *ServicesRequest) XXX_Unmarshal(b []byte) error
- type ServicesResponse
- func (*ServicesResponse) Descriptor() ([]byte, []int)
- func (m *ServicesResponse) GetServices() []string
- func (*ServicesResponse) ProtoMessage()
- func (m *ServicesResponse) Reset()
- func (m *ServicesResponse) String() string
- func (m *ServicesResponse) XXX_DiscardUnknown()
- func (m *ServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServicesResponse) XXX_Merge(src proto.Message)
- func (m *ServicesResponse) XXX_Size() int
- func (m *ServicesResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterNetworkHandler ¶
func RegisterNetworkHandler(s server.Server, hdlr NetworkHandler, opts ...server.HandlerOption) error
Types ¶
type Close ¶
type Close struct { // network node Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Close is sent when the node disconnects from the network
func (*Close) Descriptor ¶
func (*Close) ProtoMessage ¶
func (*Close) ProtoMessage()
func (*Close) XXX_DiscardUnknown ¶
func (m *Close) XXX_DiscardUnknown()
func (*Close) XXX_Marshal ¶
func (*Close) XXX_Unmarshal ¶
type Connect ¶
type Connect struct { // network mode Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Connect is sent when the node connects to the network
func (*Connect) Descriptor ¶
func (*Connect) ProtoMessage ¶
func (*Connect) ProtoMessage()
func (*Connect) XXX_DiscardUnknown ¶
func (m *Connect) XXX_DiscardUnknown()
func (*Connect) XXX_Marshal ¶
func (*Connect) XXX_Unmarshal ¶
type ConnectRequest ¶ added in v1.12.0
type ConnectRequest struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConnectRequest) Descriptor ¶ added in v1.12.0
func (*ConnectRequest) Descriptor() ([]byte, []int)
func (*ConnectRequest) GetNodes ¶ added in v1.12.0
func (m *ConnectRequest) GetNodes() []*Node
func (*ConnectRequest) ProtoMessage ¶ added in v1.12.0
func (*ConnectRequest) ProtoMessage()
func (*ConnectRequest) Reset ¶ added in v1.12.0
func (m *ConnectRequest) Reset()
func (*ConnectRequest) String ¶ added in v1.12.0
func (m *ConnectRequest) String() string
func (*ConnectRequest) XXX_DiscardUnknown ¶ added in v1.12.0
func (m *ConnectRequest) XXX_DiscardUnknown()
func (*ConnectRequest) XXX_Marshal ¶ added in v1.12.0
func (m *ConnectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConnectRequest) XXX_Merge ¶ added in v1.12.0
func (m *ConnectRequest) XXX_Merge(src proto.Message)
func (*ConnectRequest) XXX_Size ¶ added in v1.12.0
func (m *ConnectRequest) XXX_Size() int
func (*ConnectRequest) XXX_Unmarshal ¶ added in v1.12.0
func (m *ConnectRequest) XXX_Unmarshal(b []byte) error
type ConnectResponse ¶ added in v1.12.0
type ConnectResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConnectResponse) Descriptor ¶ added in v1.12.0
func (*ConnectResponse) Descriptor() ([]byte, []int)
func (*ConnectResponse) ProtoMessage ¶ added in v1.12.0
func (*ConnectResponse) ProtoMessage()
func (*ConnectResponse) Reset ¶ added in v1.12.0
func (m *ConnectResponse) Reset()
func (*ConnectResponse) String ¶ added in v1.12.0
func (m *ConnectResponse) String() string
func (*ConnectResponse) XXX_DiscardUnknown ¶ added in v1.12.0
func (m *ConnectResponse) XXX_DiscardUnknown()
func (*ConnectResponse) XXX_Marshal ¶ added in v1.12.0
func (m *ConnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConnectResponse) XXX_Merge ¶ added in v1.12.0
func (m *ConnectResponse) XXX_Merge(src proto.Message)
func (*ConnectResponse) XXX_Size ¶ added in v1.12.0
func (m *ConnectResponse) XXX_Size() int
func (*ConnectResponse) XXX_Unmarshal ¶ added in v1.12.0
func (m *ConnectResponse) XXX_Unmarshal(b []byte) error
type GraphRequest ¶ added in v1.11.0
type GraphRequest struct { // node topology depth Depth uint32 `protobuf:"varint,1,opt,name=depth,proto3" json:"depth,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GraphRequest) Descriptor ¶ added in v1.11.0
func (*GraphRequest) Descriptor() ([]byte, []int)
func (*GraphRequest) GetDepth ¶ added in v1.11.0
func (m *GraphRequest) GetDepth() uint32
func (*GraphRequest) ProtoMessage ¶ added in v1.11.0
func (*GraphRequest) ProtoMessage()
func (*GraphRequest) Reset ¶ added in v1.11.0
func (m *GraphRequest) Reset()
func (*GraphRequest) String ¶ added in v1.11.0
func (m *GraphRequest) String() string
func (*GraphRequest) XXX_DiscardUnknown ¶ added in v1.11.0
func (m *GraphRequest) XXX_DiscardUnknown()
func (*GraphRequest) XXX_Marshal ¶ added in v1.11.0
func (m *GraphRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GraphRequest) XXX_Merge ¶ added in v1.11.0
func (m *GraphRequest) XXX_Merge(src proto.Message)
func (*GraphRequest) XXX_Size ¶ added in v1.11.0
func (m *GraphRequest) XXX_Size() int
func (*GraphRequest) XXX_Unmarshal ¶ added in v1.11.0
func (m *GraphRequest) XXX_Unmarshal(b []byte) error
type GraphResponse ¶ added in v1.11.0
type GraphResponse struct { Root *Peer `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GraphResponse) Descriptor ¶ added in v1.11.0
func (*GraphResponse) Descriptor() ([]byte, []int)
func (*GraphResponse) GetRoot ¶ added in v1.11.0
func (m *GraphResponse) GetRoot() *Peer
func (*GraphResponse) ProtoMessage ¶ added in v1.11.0
func (*GraphResponse) ProtoMessage()
func (*GraphResponse) Reset ¶ added in v1.11.0
func (m *GraphResponse) Reset()
func (*GraphResponse) String ¶ added in v1.11.0
func (m *GraphResponse) String() string
func (*GraphResponse) XXX_DiscardUnknown ¶ added in v1.11.0
func (m *GraphResponse) XXX_DiscardUnknown()
func (*GraphResponse) XXX_Marshal ¶ added in v1.11.0
func (m *GraphResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GraphResponse) XXX_Merge ¶ added in v1.11.0
func (m *GraphResponse) XXX_Merge(src proto.Message)
func (*GraphResponse) XXX_Size ¶ added in v1.11.0
func (m *GraphResponse) XXX_Size() int
func (*GraphResponse) XXX_Unmarshal ¶ added in v1.11.0
func (m *GraphResponse) XXX_Unmarshal(b []byte) error
type NetworkHandler ¶
type NetworkHandler interface { // Connect to the network Connect(context.Context, *ConnectRequest, *ConnectResponse) error // Returns the entire network graph Graph(context.Context, *GraphRequest, *GraphResponse) error // Returns a list of known nodes in the network Nodes(context.Context, *NodesRequest, *NodesResponse) error // Returns a list of known routes in the network Routes(context.Context, *RoutesRequest, *RoutesResponse) error // Returns a list of known services based on routes Services(context.Context, *ServicesRequest, *ServicesResponse) error }
type NetworkService ¶
type NetworkService interface { // Connect to the network Connect(ctx context.Context, in *ConnectRequest, opts ...client.CallOption) (*ConnectResponse, error) // Returns the entire network graph Graph(ctx context.Context, in *GraphRequest, opts ...client.CallOption) (*GraphResponse, error) // Returns a list of known nodes in the network Nodes(ctx context.Context, in *NodesRequest, opts ...client.CallOption) (*NodesResponse, error) // Returns a list of known routes in the network Routes(ctx context.Context, in *RoutesRequest, opts ...client.CallOption) (*RoutesResponse, error) // Returns a list of known services based on routes Services(ctx context.Context, in *ServicesRequest, opts ...client.CallOption) (*ServicesResponse, error) }
func NewNetworkService ¶
func NewNetworkService(name string, c client.Client) NetworkService
type Node ¶
type Node struct { // node id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // node address Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // the network Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` // associated metadata Metadata map[string]string `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Node is network node
func (*Node) Descriptor ¶
func (*Node) GetAddress ¶
func (*Node) GetMetadata ¶ added in v1.12.0
func (*Node) GetNetwork ¶ added in v1.12.0
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type NodesRequest ¶ added in v1.11.0
type NodesRequest struct { // node topology depth Depth uint32 `protobuf:"varint,1,opt,name=depth,proto3" json:"depth,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PeerRequest requests list of peers
func (*NodesRequest) Descriptor ¶ added in v1.11.0
func (*NodesRequest) Descriptor() ([]byte, []int)
func (*NodesRequest) GetDepth ¶ added in v1.11.0
func (m *NodesRequest) GetDepth() uint32
func (*NodesRequest) ProtoMessage ¶ added in v1.11.0
func (*NodesRequest) ProtoMessage()
func (*NodesRequest) Reset ¶ added in v1.11.0
func (m *NodesRequest) Reset()
func (*NodesRequest) String ¶ added in v1.11.0
func (m *NodesRequest) String() string
func (*NodesRequest) XXX_DiscardUnknown ¶ added in v1.11.0
func (m *NodesRequest) XXX_DiscardUnknown()
func (*NodesRequest) XXX_Marshal ¶ added in v1.11.0
func (m *NodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodesRequest) XXX_Merge ¶ added in v1.11.0
func (m *NodesRequest) XXX_Merge(src proto.Message)
func (*NodesRequest) XXX_Size ¶ added in v1.11.0
func (m *NodesRequest) XXX_Size() int
func (*NodesRequest) XXX_Unmarshal ¶ added in v1.11.0
func (m *NodesRequest) XXX_Unmarshal(b []byte) error
type NodesResponse ¶ added in v1.11.0
type NodesResponse struct { // return peer topology Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PeerResponse is returned by ListPeers
func (*NodesResponse) Descriptor ¶ added in v1.11.0
func (*NodesResponse) Descriptor() ([]byte, []int)
func (*NodesResponse) GetNodes ¶ added in v1.11.0
func (m *NodesResponse) GetNodes() []*Node
func (*NodesResponse) ProtoMessage ¶ added in v1.11.0
func (*NodesResponse) ProtoMessage()
func (*NodesResponse) Reset ¶ added in v1.11.0
func (m *NodesResponse) Reset()
func (*NodesResponse) String ¶ added in v1.11.0
func (m *NodesResponse) String() string
func (*NodesResponse) XXX_DiscardUnknown ¶ added in v1.11.0
func (m *NodesResponse) XXX_DiscardUnknown()
func (*NodesResponse) XXX_Marshal ¶ added in v1.11.0
func (m *NodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodesResponse) XXX_Merge ¶ added in v1.11.0
func (m *NodesResponse) XXX_Merge(src proto.Message)
func (*NodesResponse) XXX_Size ¶ added in v1.11.0
func (m *NodesResponse) XXX_Size() int
func (*NodesResponse) XXX_Unmarshal ¶ added in v1.11.0
func (m *NodesResponse) XXX_Unmarshal(b []byte) error
type Peer ¶ added in v1.11.0
type Peer struct { // network node Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // node peers Peers []*Peer `protobuf:"bytes,2,rep,name=peers,proto3" json:"peers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Peer is used to advertise node peers
func (*Peer) Descriptor ¶ added in v1.11.0
func (*Peer) ProtoMessage ¶ added in v1.11.0
func (*Peer) ProtoMessage()
func (*Peer) XXX_DiscardUnknown ¶ added in v1.11.0
func (m *Peer) XXX_DiscardUnknown()
func (*Peer) XXX_Marshal ¶ added in v1.11.0
func (*Peer) XXX_Unmarshal ¶ added in v1.11.0
type Query ¶ added in v1.12.0
type Query struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"` Router string `protobuf:"bytes,4,opt,name=router,proto3" json:"router,omitempty"` Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Query is passed in a LookupRequest
func (*Query) Descriptor ¶ added in v1.12.0
func (*Query) GetAddress ¶ added in v1.12.0
func (*Query) GetGateway ¶ added in v1.12.0
func (*Query) GetNetwork ¶ added in v1.12.0
func (*Query) GetService ¶ added in v1.12.0
func (*Query) ProtoMessage ¶ added in v1.12.0
func (*Query) ProtoMessage()
func (*Query) XXX_DiscardUnknown ¶ added in v1.12.0
func (m *Query) XXX_DiscardUnknown()
func (*Query) XXX_Marshal ¶ added in v1.12.0
func (*Query) XXX_Unmarshal ¶ added in v1.12.0
type RoutesRequest ¶ added in v1.11.0
type RoutesRequest struct { // filter based on Query *Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoutesRequest) Descriptor ¶ added in v1.11.0
func (*RoutesRequest) Descriptor() ([]byte, []int)
func (*RoutesRequest) GetQuery ¶ added in v1.12.0
func (m *RoutesRequest) GetQuery() *Query
func (*RoutesRequest) ProtoMessage ¶ added in v1.11.0
func (*RoutesRequest) ProtoMessage()
func (*RoutesRequest) Reset ¶ added in v1.11.0
func (m *RoutesRequest) Reset()
func (*RoutesRequest) String ¶ added in v1.11.0
func (m *RoutesRequest) String() string
func (*RoutesRequest) XXX_DiscardUnknown ¶ added in v1.11.0
func (m *RoutesRequest) XXX_DiscardUnknown()
func (*RoutesRequest) XXX_Marshal ¶ added in v1.11.0
func (m *RoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoutesRequest) XXX_Merge ¶ added in v1.11.0
func (m *RoutesRequest) XXX_Merge(src proto.Message)
func (*RoutesRequest) XXX_Size ¶ added in v1.11.0
func (m *RoutesRequest) XXX_Size() int
func (*RoutesRequest) XXX_Unmarshal ¶ added in v1.11.0
func (m *RoutesRequest) XXX_Unmarshal(b []byte) error
type RoutesResponse ¶ added in v1.11.0
type RoutesResponse struct { Routes []*proto1.Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoutesResponse) Descriptor ¶ added in v1.11.0
func (*RoutesResponse) Descriptor() ([]byte, []int)
func (*RoutesResponse) GetRoutes ¶ added in v1.11.0
func (m *RoutesResponse) GetRoutes() []*proto1.Route
func (*RoutesResponse) ProtoMessage ¶ added in v1.11.0
func (*RoutesResponse) ProtoMessage()
func (*RoutesResponse) Reset ¶ added in v1.11.0
func (m *RoutesResponse) Reset()
func (*RoutesResponse) String ¶ added in v1.11.0
func (m *RoutesResponse) String() string
func (*RoutesResponse) XXX_DiscardUnknown ¶ added in v1.11.0
func (m *RoutesResponse) XXX_DiscardUnknown()
func (*RoutesResponse) XXX_Marshal ¶ added in v1.11.0
func (m *RoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoutesResponse) XXX_Merge ¶ added in v1.11.0
func (m *RoutesResponse) XXX_Merge(src proto.Message)
func (*RoutesResponse) XXX_Size ¶ added in v1.11.0
func (m *RoutesResponse) XXX_Size() int
func (*RoutesResponse) XXX_Unmarshal ¶ added in v1.11.0
func (m *RoutesResponse) XXX_Unmarshal(b []byte) error
type ServicesRequest ¶ added in v1.11.0
type ServicesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServicesRequest) Descriptor ¶ added in v1.11.0
func (*ServicesRequest) Descriptor() ([]byte, []int)
func (*ServicesRequest) ProtoMessage ¶ added in v1.11.0
func (*ServicesRequest) ProtoMessage()
func (*ServicesRequest) Reset ¶ added in v1.11.0
func (m *ServicesRequest) Reset()
func (*ServicesRequest) String ¶ added in v1.11.0
func (m *ServicesRequest) String() string
func (*ServicesRequest) XXX_DiscardUnknown ¶ added in v1.11.0
func (m *ServicesRequest) XXX_DiscardUnknown()
func (*ServicesRequest) XXX_Marshal ¶ added in v1.11.0
func (m *ServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServicesRequest) XXX_Merge ¶ added in v1.11.0
func (m *ServicesRequest) XXX_Merge(src proto.Message)
func (*ServicesRequest) XXX_Size ¶ added in v1.11.0
func (m *ServicesRequest) XXX_Size() int
func (*ServicesRequest) XXX_Unmarshal ¶ added in v1.11.0
func (m *ServicesRequest) XXX_Unmarshal(b []byte) error
type ServicesResponse ¶ added in v1.11.0
type ServicesResponse struct { Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServicesResponse) Descriptor ¶ added in v1.11.0
func (*ServicesResponse) Descriptor() ([]byte, []int)
func (*ServicesResponse) GetServices ¶ added in v1.11.0
func (m *ServicesResponse) GetServices() []string
func (*ServicesResponse) ProtoMessage ¶ added in v1.11.0
func (*ServicesResponse) ProtoMessage()
func (*ServicesResponse) Reset ¶ added in v1.11.0
func (m *ServicesResponse) Reset()
func (*ServicesResponse) String ¶ added in v1.11.0
func (m *ServicesResponse) String() string
func (*ServicesResponse) XXX_DiscardUnknown ¶ added in v1.11.0
func (m *ServicesResponse) XXX_DiscardUnknown()
func (*ServicesResponse) XXX_Marshal ¶ added in v1.11.0
func (m *ServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServicesResponse) XXX_Merge ¶ added in v1.11.0
func (m *ServicesResponse) XXX_Merge(src proto.Message)
func (*ServicesResponse) XXX_Size ¶ added in v1.11.0
func (m *ServicesResponse) XXX_Size() int
func (*ServicesResponse) XXX_Unmarshal ¶ added in v1.11.0
func (m *ServicesResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.