Documentation ¶
Index ¶
- Variables
- func RegisterOGCishServiceServer(s *grpc.Server, srv OGCishServiceServer)
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)deprecated
- func (x *Feature) GetGeometry() *Geometry
- func (x *Feature) GetId() string
- func (x *Feature) GetProperties() *Properties
- func (x *Feature) GetType() string
- func (*Feature) ProtoMessage()
- func (x *Feature) ProtoReflect() protoreflect.Message
- func (x *Feature) Reset()
- func (x *Feature) String() string
- type FeatureCollectionRequest
- func (*FeatureCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureCollectionRequest) GetMeasurementName() string
- func (x *FeatureCollectionRequest) GetStationName() string
- func (*FeatureCollectionRequest) ProtoMessage()
- func (x *FeatureCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *FeatureCollectionRequest) Reset()
- func (x *FeatureCollectionRequest) String() string
- type Geometry
- type Measurement
- type OGCishServiceClient
- type OGCishServiceServer
- type OGCishService_ItemsClient
- type OGCishService_ItemsNogRPCConstClient
- type OGCishService_ItemsNogRPCConstServer
- type OGCishService_ItemsServer
- type Point
- type Properties
- func (*Properties) Descriptor() ([]byte, []int)deprecated
- func (x *Properties) GetMeasurement() *Measurement
- func (x *Properties) GetStation() *Station
- func (*Properties) ProtoMessage()
- func (x *Properties) ProtoReflect() protoreflect.Message
- func (x *Properties) Reset()
- func (x *Properties) String() string
- type Station
- type UnimplementedOGCishServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_ogc_ish_proto protoreflect.FileDescriptor
Functions ¶
func RegisterOGCishServiceServer ¶
func RegisterOGCishServiceServer(s *grpc.Server, srv OGCishServiceServer)
Types ¶
type Feature ¶
type Feature struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Properties *Properties `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` Geometry *Geometry `protobuf:"bytes,4,opt,name=geometry,proto3" json:"geometry,omitempty"` // contains filtered or unexported fields }
func (*Feature) Descriptor
deprecated
func (*Feature) GetGeometry ¶
func (*Feature) GetProperties ¶
func (x *Feature) GetProperties() *Properties
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) ProtoReflect ¶
func (x *Feature) ProtoReflect() protoreflect.Message
type FeatureCollectionRequest ¶
type FeatureCollectionRequest struct { StationName string `protobuf:"bytes,1,opt,name=stationName,proto3" json:"stationName,omitempty"` MeasurementName string `protobuf:"bytes,2,opt,name=measurementName,proto3" json:"measurementName,omitempty"` // contains filtered or unexported fields }
func (*FeatureCollectionRequest) Descriptor
deprecated
func (*FeatureCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeatureCollectionRequest.ProtoReflect.Descriptor instead.
func (*FeatureCollectionRequest) GetMeasurementName ¶
func (x *FeatureCollectionRequest) GetMeasurementName() string
func (*FeatureCollectionRequest) GetStationName ¶
func (x *FeatureCollectionRequest) GetStationName() string
func (*FeatureCollectionRequest) ProtoMessage ¶
func (*FeatureCollectionRequest) ProtoMessage()
func (*FeatureCollectionRequest) ProtoReflect ¶
func (x *FeatureCollectionRequest) ProtoReflect() protoreflect.Message
func (*FeatureCollectionRequest) Reset ¶
func (x *FeatureCollectionRequest) Reset()
func (*FeatureCollectionRequest) String ¶
func (x *FeatureCollectionRequest) String() string
type Geometry ¶
type Geometry struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Coordinates *Point `protobuf:"bytes,2,opt,name=coordinates,proto3" json:"coordinates,omitempty"` // contains filtered or unexported fields }
func (*Geometry) Descriptor
deprecated
func (*Geometry) GetCoordinates ¶
func (*Geometry) ProtoMessage ¶
func (*Geometry) ProtoMessage()
func (*Geometry) ProtoReflect ¶
func (x *Geometry) ProtoReflect() protoreflect.Message
type Measurement ¶
type Measurement struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Measurement) Descriptor
deprecated
func (*Measurement) Descriptor() ([]byte, []int)
Deprecated: Use Measurement.ProtoReflect.Descriptor instead.
func (*Measurement) GetName ¶
func (x *Measurement) GetName() string
func (*Measurement) GetValue ¶
func (x *Measurement) GetValue() float32
func (*Measurement) ProtoMessage ¶
func (*Measurement) ProtoMessage()
func (*Measurement) ProtoReflect ¶
func (x *Measurement) ProtoReflect() protoreflect.Message
func (*Measurement) Reset ¶
func (x *Measurement) Reset()
func (*Measurement) String ¶
func (x *Measurement) String() string
type OGCishServiceClient ¶
type OGCishServiceClient interface { Items(ctx context.Context, in *FeatureCollectionRequest, opts ...grpc.CallOption) (OGCishService_ItemsClient, error) ItemsNogRPCConst(ctx context.Context, in *FeatureCollectionRequest, opts ...grpc.CallOption) (OGCishService_ItemsNogRPCConstClient, error) }
OGCishServiceClient is the client API for OGCishService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewOGCishServiceClient ¶
func NewOGCishServiceClient(cc grpc.ClientConnInterface) OGCishServiceClient
type OGCishServiceServer ¶
type OGCishServiceServer interface { Items(*FeatureCollectionRequest, OGCishService_ItemsServer) error ItemsNogRPCConst(*FeatureCollectionRequest, OGCishService_ItemsNogRPCConstServer) error }
OGCishServiceServer is the server API for OGCishService service.
type OGCishService_ItemsClient ¶
type OGCishService_ItemsClient interface { Recv() (*Feature, error) grpc.ClientStream }
type OGCishService_ItemsNogRPCConstClient ¶
type OGCishService_ItemsNogRPCConstClient interface { Recv() (*Feature, error) grpc.ClientStream }
type OGCishService_ItemsNogRPCConstServer ¶
type OGCishService_ItemsNogRPCConstServer interface { Send(*Feature) error grpc.ServerStream }
type OGCishService_ItemsServer ¶
type OGCishService_ItemsServer interface { Send(*Feature) error grpc.ServerStream }
type Point ¶
type Point struct { Latitude int32 `protobuf:"varint,1,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude int32 `protobuf:"varint,2,opt,name=longitude,proto3" json:"longitude,omitempty"` // contains filtered or unexported fields }
func (*Point) Descriptor
deprecated
func (*Point) GetLatitude ¶
func (*Point) GetLongitude ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
type Properties ¶
type Properties struct { Measurement *Measurement `protobuf:"bytes,1,opt,name=measurement,proto3" json:"measurement,omitempty"` Station *Station `protobuf:"bytes,10,opt,name=station,proto3" json:"station,omitempty"` // contains filtered or unexported fields }
func (*Properties) Descriptor
deprecated
func (*Properties) Descriptor() ([]byte, []int)
Deprecated: Use Properties.ProtoReflect.Descriptor instead.
func (*Properties) GetMeasurement ¶
func (x *Properties) GetMeasurement() *Measurement
func (*Properties) GetStation ¶
func (x *Properties) GetStation() *Station
func (*Properties) ProtoMessage ¶
func (*Properties) ProtoMessage()
func (*Properties) ProtoReflect ¶
func (x *Properties) ProtoReflect() protoreflect.Message
func (*Properties) Reset ¶
func (x *Properties) Reset()
func (*Properties) String ¶
func (x *Properties) String() string
type Station ¶
type Station struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Station) Descriptor
deprecated
func (*Station) GetMetadata ¶
func (*Station) ProtoMessage ¶
func (*Station) ProtoMessage()
func (*Station) ProtoReflect ¶
func (x *Station) ProtoReflect() protoreflect.Message
type UnimplementedOGCishServiceServer ¶
type UnimplementedOGCishServiceServer struct { }
UnimplementedOGCishServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedOGCishServiceServer) ItemsNogRPCConst ¶
func (*UnimplementedOGCishServiceServer) ItemsNogRPCConst(*FeatureCollectionRequest, OGCishService_ItemsNogRPCConstServer) error
Click to show internal directories.
Click to hide internal directories.