config

package
v0.0.0-...-6cd7eb2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Endpoints contains the current set-up of the endpoints

Functions

func CreateCreateObservationsEndpoint

func CreateCreateObservationsEndpoint(externalURL string) *endpoint.Endpoint

CreateCreateObservationsEndpoint constructs the CreateObservations endpoint configuration

func CreateDatastreamsEndpoint

func CreateDatastreamsEndpoint(externalURL string) *endpoint.Endpoint

CreateDatastreamsEndpoint constructs the Datastreams endpoint configuration

func CreateEndPoints

func CreateEndPoints(externalURL string) map[entities.EntityType]models.Endpoint

CreateEndPoints creates the pre-defined endpoint config, the config contains all endpoint info describing the SupportedQueryOptions (if needed) and EndpointOperation for each endpoint parameter externalURL is the URL where the GOST service can be reached, main endpoint urls are generated based upon this URL

func CreateFeaturesOfInterestEndpoint

func CreateFeaturesOfInterestEndpoint(externalURL string) *endpoint.Endpoint

CreateFeaturesOfInterestEndpoint constructs the featuresOfInterest endpoint configuration

func CreateHistoricalLocationsEndpoint

func CreateHistoricalLocationsEndpoint(externalURL string) *endpoint.Endpoint

CreateHistoricalLocationsEndpoint constructs the HistoricalLocations endpoint configuration

func CreateLocationsEndpoint

func CreateLocationsEndpoint(externalURL string) *endpoint.Endpoint

CreateLocationsEndpoint constructs the Locations endpoint configuration

func CreateObservationsEndpoint

func CreateObservationsEndpoint(externalURL string) *endpoint.Endpoint

CreateObservationsEndpoint constructs the Observations endpoint configuration

func CreateObservedPropertiesEndpoint

func CreateObservedPropertiesEndpoint(externalURL string) *endpoint.Endpoint

CreateObservedPropertiesEndpoint constructs the ObservedProperties endpoint configuration

func CreateRootEndpoint

func CreateRootEndpoint(externalURL string) *endpoint.Endpoint

CreateRootEndpoint creates the Root endpoint configuration

func CreateSensorsEndpoint

func CreateSensorsEndpoint(externalURL string) *endpoint.Endpoint

CreateSensorsEndpoint creates the Sensors endpoint configuration

func CreateThingsEndpoint

func CreateThingsEndpoint(externalURL string) *endpoint.Endpoint

CreateThingsEndpoint creates the Things endpoint configuration

func CreateVersionEndpoint

func CreateVersionEndpoint(externalURL string) *endpoint.Endpoint

CreateVersionEndpoint creates the Version endpoint configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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