Documentation ¶
Index ¶
- func RegisterSubnetLookupServer(s *grpc.Server, srv SubnetLookupServer)
- type SubnetIDRequest
- func (*SubnetIDRequest) Descriptor() ([]byte, []int)
- func (m *SubnetIDRequest) GetChainID() []byte
- func (*SubnetIDRequest) ProtoMessage()
- func (m *SubnetIDRequest) Reset()
- func (m *SubnetIDRequest) String() string
- func (m *SubnetIDRequest) XXX_DiscardUnknown()
- func (m *SubnetIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubnetIDRequest) XXX_Merge(src proto.Message)
- func (m *SubnetIDRequest) XXX_Size() int
- func (m *SubnetIDRequest) XXX_Unmarshal(b []byte) error
- type SubnetIDResponse
- func (*SubnetIDResponse) Descriptor() ([]byte, []int)
- func (m *SubnetIDResponse) GetId() []byte
- func (*SubnetIDResponse) ProtoMessage()
- func (m *SubnetIDResponse) Reset()
- func (m *SubnetIDResponse) String() string
- func (m *SubnetIDResponse) XXX_DiscardUnknown()
- func (m *SubnetIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubnetIDResponse) XXX_Merge(src proto.Message)
- func (m *SubnetIDResponse) XXX_Size() int
- func (m *SubnetIDResponse) XXX_Unmarshal(b []byte) error
- type SubnetLookupClient
- type SubnetLookupServer
- type UnimplementedSubnetLookupServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSubnetLookupServer ¶
func RegisterSubnetLookupServer(s *grpc.Server, srv SubnetLookupServer)
Types ¶
type SubnetIDRequest ¶
type SubnetIDRequest struct { ChainID []byte `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubnetIDRequest) Descriptor ¶
func (*SubnetIDRequest) Descriptor() ([]byte, []int)
func (*SubnetIDRequest) GetChainID ¶
func (m *SubnetIDRequest) GetChainID() []byte
func (*SubnetIDRequest) ProtoMessage ¶
func (*SubnetIDRequest) ProtoMessage()
func (*SubnetIDRequest) Reset ¶
func (m *SubnetIDRequest) Reset()
func (*SubnetIDRequest) String ¶
func (m *SubnetIDRequest) String() string
func (*SubnetIDRequest) XXX_DiscardUnknown ¶
func (m *SubnetIDRequest) XXX_DiscardUnknown()
func (*SubnetIDRequest) XXX_Marshal ¶
func (m *SubnetIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubnetIDRequest) XXX_Merge ¶
func (m *SubnetIDRequest) XXX_Merge(src proto.Message)
func (*SubnetIDRequest) XXX_Size ¶
func (m *SubnetIDRequest) XXX_Size() int
func (*SubnetIDRequest) XXX_Unmarshal ¶
func (m *SubnetIDRequest) XXX_Unmarshal(b []byte) error
type SubnetIDResponse ¶
type SubnetIDResponse struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubnetIDResponse) Descriptor ¶
func (*SubnetIDResponse) Descriptor() ([]byte, []int)
func (*SubnetIDResponse) GetId ¶
func (m *SubnetIDResponse) GetId() []byte
func (*SubnetIDResponse) ProtoMessage ¶
func (*SubnetIDResponse) ProtoMessage()
func (*SubnetIDResponse) Reset ¶
func (m *SubnetIDResponse) Reset()
func (*SubnetIDResponse) String ¶
func (m *SubnetIDResponse) String() string
func (*SubnetIDResponse) XXX_DiscardUnknown ¶
func (m *SubnetIDResponse) XXX_DiscardUnknown()
func (*SubnetIDResponse) XXX_Marshal ¶
func (m *SubnetIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubnetIDResponse) XXX_Merge ¶
func (m *SubnetIDResponse) XXX_Merge(src proto.Message)
func (*SubnetIDResponse) XXX_Size ¶
func (m *SubnetIDResponse) XXX_Size() int
func (*SubnetIDResponse) XXX_Unmarshal ¶
func (m *SubnetIDResponse) XXX_Unmarshal(b []byte) error
type SubnetLookupClient ¶
type SubnetLookupClient interface {
SubnetID(ctx context.Context, in *SubnetIDRequest, opts ...grpc.CallOption) (*SubnetIDResponse, error)
}
SubnetLookupClient is the client API for SubnetLookup service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSubnetLookupClient ¶
func NewSubnetLookupClient(cc grpc.ClientConnInterface) SubnetLookupClient
type SubnetLookupServer ¶
type SubnetLookupServer interface {
SubnetID(context.Context, *SubnetIDRequest) (*SubnetIDResponse, error)
}
SubnetLookupServer is the server API for SubnetLookup service.
type UnimplementedSubnetLookupServer ¶
type UnimplementedSubnetLookupServer struct { }
UnimplementedSubnetLookupServer can be embedded to have forward compatible implementations.
func (*UnimplementedSubnetLookupServer) SubnetID ¶
func (*UnimplementedSubnetLookupServer) SubnetID(ctx context.Context, req *SubnetIDRequest) (*SubnetIDResponse, error)
Click to show internal directories.
Click to hide internal directories.