api

package
v7.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: BSD-3-Clause Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CessateFeatureHandler

func CessateFeatureHandler(opts *CessateFeatureHandlerOptions) (http.Handler, error)

func CreateFeatureHandler

func CreateFeatureHandler(opts *CreateFeatureHandlerOptions) (http.Handler, error)

func DeprecateFeatureHandler

func DeprecateFeatureHandler(opts *DeprecateFeatureHandlerOptions) (http.Handler, error)

func SearchAPIHandler

func SearchAPIHandler(opts SearchAPIHandlerOptions) (http.Handler, error)

func UpdateGeometryHandler

func UpdateGeometryHandler(opts *UpdateGeometryHandlerOptions) (http.Handler, error)

Types

type CessateFeatureHandlerOptions

type CessateFeatureHandlerOptions struct {
	Reader        reader.Reader
	WriterURIs    []string
	Exporter      export.Exporter
	Authenticator auth.Authenticator
	Logger        *log.Logger
	Cache         cache.Cache
}

type CreateFeatureHandlerOptions

type CreateFeatureHandlerOptions struct {
	Reader                reader.Reader
	Cache                 cache.Cache
	WriterURIs            []string
	Exporter              export.Exporter
	Authenticator         auth.Authenticator
	Logger                *log.Logger
	PointInPolygonService *pointinpolygon.PointInPolygonService
	CustomProperties      []browser_properties.CustomProperty
	CustomValidationFunc  browser_custom.CustomValidationFunc
}

type DeprecateFeatureHandlerOptions

type DeprecateFeatureHandlerOptions struct {
	Reader        reader.Reader
	WriterURIs    []string
	Exporter      export.Exporter
	Authenticator auth.Authenticator
	Logger        *log.Logger
	Cache         cache.Cache
}

type SearchAPIHandlerOptions

type SearchAPIHandlerOptions struct {
	Database        fulltext.FullTextDatabase
	EnableGeoJSON   bool
	GeoJSONReader   reader.Reader
	SPRPathResolver geojson.SPRPathResolver
}

type UpdateGeometryHandlerOptions

type UpdateGeometryHandlerOptions struct {
	Reader                reader.Reader
	Cache                 cache.Cache
	WriterURIs            []string
	Exporter              export.Exporter
	Authenticator         auth.Authenticator
	Logger                *log.Logger
	PointInPolygonService *pointinpolygon.PointInPolygonService
}

Jump to

Keyboard shortcuts

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