Versions in this module Expand all Collapse all v0 v0.1.1 Aug 31, 2024 Changes in this version + var File_hosts_proto protoreflect.FileDescriptor + var HostMapper_ServiceDesc = grpc.ServiceDesc + func RegisterHostMapperServer(s grpc.ServiceRegistrar, srv HostMapperServer) + type HostMapperClient interface + Lookup func(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupReply, error) + func NewHostMapperClient(cc grpc.ClientConnInterface) HostMapperClient + type HostMapperServer interface + Lookup func(context.Context, *LookupRequest) (*LookupReply, error) + type LookupReply struct + Ips []string + Ok bool + func (*LookupReply) Descriptor() ([]byte, []int) + func (*LookupReply) ProtoMessage() + func (x *LookupReply) GetIps() []string + func (x *LookupReply) GetOk() bool + func (x *LookupReply) ProtoReflect() protoreflect.Message + func (x *LookupReply) Reset() + func (x *LookupReply) String() string + type LookupRequest struct + Client string + Host string + Network string + func (*LookupRequest) Descriptor() ([]byte, []int) + func (*LookupRequest) ProtoMessage() + func (x *LookupRequest) GetClient() string + func (x *LookupRequest) GetHost() string + func (x *LookupRequest) GetNetwork() string + func (x *LookupRequest) ProtoReflect() protoreflect.Message + func (x *LookupRequest) Reset() + func (x *LookupRequest) String() string + type UnimplementedHostMapperServer struct + func (UnimplementedHostMapperServer) Lookup(context.Context, *LookupRequest) (*LookupReply, error) + type UnsafeHostMapperServer interface v0.1.0 Jul 8, 2024