geo

package
v2.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGeolocationServerServiceServer

func RegisterGeolocationServerServiceServer(s *grpc.Server, srv GeolocationServerServiceServer)

Types

type FrameRXInfo

type FrameRXInfo struct {
	// Uplink Gateway meta-data.
	RxInfo               []*gw.UplinkRXInfo `protobuf:"bytes,1,rep,name=rx_info,json=rxInfo,proto3" json:"rx_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*FrameRXInfo) Descriptor

func (*FrameRXInfo) Descriptor() ([]byte, []int)

func (*FrameRXInfo) GetRxInfo

func (m *FrameRXInfo) GetRxInfo() []*gw.UplinkRXInfo

func (*FrameRXInfo) ProtoMessage

func (*FrameRXInfo) ProtoMessage()

func (*FrameRXInfo) Reset

func (m *FrameRXInfo) Reset()

func (*FrameRXInfo) String

func (m *FrameRXInfo) String() string

func (*FrameRXInfo) XXX_DiscardUnknown

func (m *FrameRXInfo) XXX_DiscardUnknown()

func (*FrameRXInfo) XXX_Marshal

func (m *FrameRXInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FrameRXInfo) XXX_Merge

func (dst *FrameRXInfo) XXX_Merge(src proto.Message)

func (*FrameRXInfo) XXX_Size

func (m *FrameRXInfo) XXX_Size() int

func (*FrameRXInfo) XXX_Unmarshal

func (m *FrameRXInfo) XXX_Unmarshal(b []byte) error

type GeolocationServerServiceClient

type GeolocationServerServiceClient interface {
	// ResolveTDOA resolves the location based on TDOA.
	ResolveTDOA(ctx context.Context, in *ResolveTDOARequest, opts ...grpc.CallOption) (*ResolveTDOAResponse, error)
}

GeolocationServerServiceClient is the client API for GeolocationServerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGeolocationServerServiceClient

func NewGeolocationServerServiceClient(cc *grpc.ClientConn) GeolocationServerServiceClient

type GeolocationServerServiceServer

type GeolocationServerServiceServer interface {
	// ResolveTDOA resolves the location based on TDOA.
	ResolveTDOA(context.Context, *ResolveTDOARequest) (*ResolveTDOAResponse, error)
}

GeolocationServerServiceServer is the server API for GeolocationServerService service.

type ResolveResult

type ResolveResult struct {
	// Resolved location.
	Location             *common.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ResolveResult) Descriptor

func (*ResolveResult) Descriptor() ([]byte, []int)

func (*ResolveResult) GetLocation

func (m *ResolveResult) GetLocation() *common.Location

func (*ResolveResult) ProtoMessage

func (*ResolveResult) ProtoMessage()

func (*ResolveResult) Reset

func (m *ResolveResult) Reset()

func (*ResolveResult) String

func (m *ResolveResult) String() string

func (*ResolveResult) XXX_DiscardUnknown

func (m *ResolveResult) XXX_DiscardUnknown()

func (*ResolveResult) XXX_Marshal

func (m *ResolveResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveResult) XXX_Merge

func (dst *ResolveResult) XXX_Merge(src proto.Message)

func (*ResolveResult) XXX_Size

func (m *ResolveResult) XXX_Size() int

func (*ResolveResult) XXX_Unmarshal

func (m *ResolveResult) XXX_Unmarshal(b []byte) error

type ResolveTDOARequest

type ResolveTDOARequest struct {
	// Device ID.
	DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
	// Frame meta-data.
	FrameRxInfo *FrameRXInfo `protobuf:"bytes,2,opt,name=frame_rx_info,json=frameRXInfo,proto3" json:"frame_rx_info,omitempty"`
	// Device reference altitude.
	DeviceReferenceAltitude float64  `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

func (*ResolveTDOARequest) Descriptor

func (*ResolveTDOARequest) Descriptor() ([]byte, []int)

func (*ResolveTDOARequest) GetDevEui

func (m *ResolveTDOARequest) GetDevEui() []byte

func (*ResolveTDOARequest) GetDeviceReferenceAltitude

func (m *ResolveTDOARequest) GetDeviceReferenceAltitude() float64

func (*ResolveTDOARequest) GetFrameRxInfo

func (m *ResolveTDOARequest) GetFrameRxInfo() *FrameRXInfo

func (*ResolveTDOARequest) ProtoMessage

func (*ResolveTDOARequest) ProtoMessage()

func (*ResolveTDOARequest) Reset

func (m *ResolveTDOARequest) Reset()

func (*ResolveTDOARequest) String

func (m *ResolveTDOARequest) String() string

func (*ResolveTDOARequest) XXX_DiscardUnknown

func (m *ResolveTDOARequest) XXX_DiscardUnknown()

func (*ResolveTDOARequest) XXX_Marshal

func (m *ResolveTDOARequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveTDOARequest) XXX_Merge

func (dst *ResolveTDOARequest) XXX_Merge(src proto.Message)

func (*ResolveTDOARequest) XXX_Size

func (m *ResolveTDOARequest) XXX_Size() int

func (*ResolveTDOARequest) XXX_Unmarshal

func (m *ResolveTDOARequest) XXX_Unmarshal(b []byte) error

type ResolveTDOAResponse

type ResolveTDOAResponse struct {
	// Resolve result.
	Result               *ResolveResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ResolveTDOAResponse) Descriptor

func (*ResolveTDOAResponse) Descriptor() ([]byte, []int)

func (*ResolveTDOAResponse) GetResult

func (m *ResolveTDOAResponse) GetResult() *ResolveResult

func (*ResolveTDOAResponse) ProtoMessage

func (*ResolveTDOAResponse) ProtoMessage()

func (*ResolveTDOAResponse) Reset

func (m *ResolveTDOAResponse) Reset()

func (*ResolveTDOAResponse) String

func (m *ResolveTDOAResponse) String() string

func (*ResolveTDOAResponse) XXX_DiscardUnknown

func (m *ResolveTDOAResponse) XXX_DiscardUnknown()

func (*ResolveTDOAResponse) XXX_Marshal

func (m *ResolveTDOAResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveTDOAResponse) XXX_Merge

func (dst *ResolveTDOAResponse) XXX_Merge(src proto.Message)

func (*ResolveTDOAResponse) XXX_Size

func (m *ResolveTDOAResponse) XXX_Size() int

func (*ResolveTDOAResponse) XXX_Unmarshal

func (m *ResolveTDOAResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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