Versions in this module Expand all Collapse all v1 v1.0.0 Jan 14, 2022 Changes in this version + var File_pb_pds_proto protoreflect.FileDescriptor + var PortGuide_ServiceDesc = grpc.ServiceDesc + var ToolGuide_ServiceDesc = grpc.ServiceDesc + func RegisterPortGuideServer(s grpc.ServiceRegistrar, srv PortGuideServer) + func RegisterToolGuideServer(s grpc.ServiceRegistrar, srv ToolGuideServer) + type Circle struct + Center *Point + Radius float32 + func (*Circle) Descriptor() ([]byte, []int) + func (*Circle) ProtoMessage() + func (x *Circle) GetCenter() *Point + func (x *Circle) GetRadius() float32 + func (x *Circle) ProtoReflect() protoreflect.Message + func (x *Circle) Reset() + func (x *Circle) String() string + type Content struct + Value []byte + func (*Content) Descriptor() ([]byte, []int) + func (*Content) ProtoMessage() + func (x *Content) GetValue() []byte + func (x *Content) ProtoReflect() protoreflect.Message + func (x *Content) Reset() + func (x *Content) String() string + type Key struct + Value string + func (*Key) Descriptor() ([]byte, []int) + func (*Key) ProtoMessage() + func (x *Key) GetValue() string + func (x *Key) ProtoReflect() protoreflect.Message + func (x *Key) Reset() + func (x *Key) String() string + type Name struct + Value string + func (*Name) Descriptor() ([]byte, []int) + func (*Name) ProtoMessage() + func (x *Name) GetValue() string + func (x *Name) ProtoReflect() protoreflect.Message + func (x *Name) Reset() + func (x *Name) String() string + type Point struct + Latitude float32 + Longitude float32 + func (*Point) Descriptor() ([]byte, []int) + func (*Point) ProtoMessage() + func (x *Point) GetLatitude() float32 + func (x *Point) GetLongitude() float32 + func (x *Point) ProtoReflect() protoreflect.Message + func (x *Point) Reset() + func (x *Point) String() string + type Port struct + Alias []string + City string + Code string + Coordinates []float32 + Country string + Name string + Province string + Regions []string + Timezone string + Unlocs []string + func (*Port) Descriptor() ([]byte, []int) + func (*Port) ProtoMessage() + func (x *Port) GetAlias() []string + func (x *Port) GetCity() string + func (x *Port) GetCode() string + func (x *Port) GetCoordinates() []float32 + func (x *Port) GetCountry() string + func (x *Port) GetName() string + func (x *Port) GetProvince() string + func (x *Port) GetRegions() []string + func (x *Port) GetTimezone() string + func (x *Port) GetUnlocs() []string + func (x *Port) ProtoReflect() protoreflect.Message + func (x *Port) Reset() + func (x *Port) String() string + type PortGuideClient interface + FindInCircle func(ctx context.Context, in *Circle, opts ...grpc.CallOption) (*Ports, error) + FindNearest func(ctx context.Context, in *Point, opts ...grpc.CallOption) (*Port, error) + FindText func(ctx context.Context, in *Quest, opts ...grpc.CallOption) (*Ports, error) + GetByKey func(ctx context.Context, in *Key, opts ...grpc.CallOption) (*Port, error) + GetByName func(ctx context.Context, in *Name, opts ...grpc.CallOption) (*Port, error) + RecordList func(ctx context.Context, opts ...grpc.CallOption) (PortGuide_RecordListClient, error) + SetByKey func(ctx context.Context, in *Port, opts ...grpc.CallOption) (*Key, error) + func NewPortGuideClient(cc grpc.ClientConnInterface) PortGuideClient + type PortGuideServer interface + FindInCircle func(context.Context, *Circle) (*Ports, error) + FindNearest func(context.Context, *Point) (*Port, error) + FindText func(context.Context, *Quest) (*Ports, error) + GetByKey func(context.Context, *Key) (*Port, error) + GetByName func(context.Context, *Name) (*Port, error) + RecordList func(PortGuide_RecordListServer) error + SetByKey func(context.Context, *Port) (*Key, error) + type PortGuide_RecordListClient interface + CloseAndRecv func() (*Summary, error) + Send func(*Port) error + type PortGuide_RecordListServer interface + Recv func() (*Port, error) + SendAndClose func(*Summary) error + type Ports struct + List []*Port + func (*Ports) Descriptor() ([]byte, []int) + func (*Ports) ProtoMessage() + func (x *Ports) GetList() []*Port + func (x *Ports) ProtoReflect() protoreflect.Message + func (x *Ports) Reset() + func (x *Ports) String() string + type Quest struct + Sensitive bool + Value string + Whole bool + func (*Quest) Descriptor() ([]byte, []int) + func (*Quest) ProtoMessage() + func (x *Quest) GetSensitive() bool + func (x *Quest) GetValue() string + func (x *Quest) GetWhole() bool + func (x *Quest) ProtoReflect() protoreflect.Message + func (x *Quest) Reset() + func (x *Quest) String() string + type Summary struct + ElapsedTime int32 + PortCount int32 + func (*Summary) Descriptor() ([]byte, []int) + func (*Summary) ProtoMessage() + func (x *Summary) GetElapsedTime() int32 + func (x *Summary) GetPortCount() int32 + func (x *Summary) ProtoReflect() protoreflect.Message + func (x *Summary) Reset() + func (x *Summary) String() string + type ToolGuideClient interface + Ping func(ctx context.Context, in *Content, opts ...grpc.CallOption) (*Content, error) + func NewToolGuideClient(cc grpc.ClientConnInterface) ToolGuideClient + type ToolGuideServer interface + Ping func(context.Context, *Content) (*Content, error) + type UnimplementedPortGuideServer struct + func (UnimplementedPortGuideServer) FindInCircle(context.Context, *Circle) (*Ports, error) + func (UnimplementedPortGuideServer) FindNearest(context.Context, *Point) (*Port, error) + func (UnimplementedPortGuideServer) FindText(context.Context, *Quest) (*Ports, error) + func (UnimplementedPortGuideServer) GetByKey(context.Context, *Key) (*Port, error) + func (UnimplementedPortGuideServer) GetByName(context.Context, *Name) (*Port, error) + func (UnimplementedPortGuideServer) RecordList(PortGuide_RecordListServer) error + func (UnimplementedPortGuideServer) SetByKey(context.Context, *Port) (*Key, error) + type UnimplementedToolGuideServer struct + func (UnimplementedToolGuideServer) Ping(context.Context, *Content) (*Content, error) + type UnsafePortGuideServer interface + type UnsafeToolGuideServer interface