collos

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPI

NewAPI creates a new API.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API exposes the Collos geolocation- methods.

func (*API) ResolveTDOA

func (a *API) ResolveTDOA(ctx context.Context, req *geo.ResolveTDOARequest) (*geo.ResolveTDOAResponse, error)

ResolveTDOA resolves the location based on TDOA.

type Config

type Config struct {
	SubscriptionKey string        `mapstructure:"subscription_key"`
	RequestTimeout  time.Duration `mapstructure:"request_timeout"`
}

Config defines the Collos backend configuration.

Jump to

Keyboard shortcuts

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