gsubnetlookupproto

package
v1.0.5-client Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

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.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL