ogs_ish

package
v0.0.0-...-7d797cb Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Feature.ProtoReflect.Descriptor instead.

func (*Feature) GetGeometry

func (x *Feature) GetGeometry() *Geometry

func (*Feature) GetId

func (x *Feature) GetId() string

func (*Feature) GetProperties

func (x *Feature) GetProperties() *Properties

func (*Feature) GetType

func (x *Feature) GetType() string

func (*Feature) ProtoMessage

func (*Feature) ProtoMessage()

func (*Feature) ProtoReflect

func (x *Feature) ProtoReflect() protoreflect.Message

func (*Feature) Reset

func (x *Feature) Reset()

func (*Feature) String

func (x *Feature) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Geometry.ProtoReflect.Descriptor instead.

func (*Geometry) GetCoordinates

func (x *Geometry) GetCoordinates() *Point

func (*Geometry) GetType

func (x *Geometry) GetType() string

func (*Geometry) ProtoMessage

func (*Geometry) ProtoMessage()

func (*Geometry) ProtoReflect

func (x *Geometry) ProtoReflect() protoreflect.Message

func (*Geometry) Reset

func (x *Geometry) Reset()

func (*Geometry) String

func (x *Geometry) String() string

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.

type OGCishServiceServer

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) Descriptor() ([]byte, []int)

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetLatitude

func (x *Point) GetLatitude() int32

func (*Point) GetLongitude

func (x *Point) GetLongitude() int32

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

func (x *Point) ProtoReflect() protoreflect.Message

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Station.ProtoReflect.Descriptor instead.

func (*Station) GetMetadata

func (x *Station) GetMetadata() string

func (*Station) GetName

func (x *Station) GetName() string

func (*Station) ProtoMessage

func (*Station) ProtoMessage()

func (*Station) ProtoReflect

func (x *Station) ProtoReflect() protoreflect.Message

func (*Station) Reset

func (x *Station) Reset()

func (*Station) String

func (x *Station) String() string

type UnimplementedOGCishServiceServer

type UnimplementedOGCishServiceServer struct {
}

UnimplementedOGCishServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedOGCishServiceServer) Items

Jump to

Keyboard shortcuts

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