config

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileStoreInit

func FileStoreInit(store string) *filestore.FileStore

FileStoreInit initializes the filestore object

Types

type APIConfig

type APIConfig struct {
	Host           string
	Port           int
	FileStore      *filestore.FileStore
	DestinationCRS int
}

func Init

func Init() *APIConfig

Init initializes the API's configuration

func (*APIConfig) Address

func (app *APIConfig) Address() string

Address tells the application where to run the api out of

Jump to

Keyboard shortcuts

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