internal

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// server
	SRV_HOST = ""
	SRV_PORT = "18651"

	// data
	DATA_FOLDER = "data"

	// storage
	TYPE_CSV  = 1
	TYPE_JSON = 2

	// tls configuration
	TLS_FOLDER    = "certs"
	TLS_ORG       = "Spoon Boy"
	TLS_VALID_FOR = 365 * 24 * time.Hour
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Datasource

type Datasource struct {
	FileName     string
	FileType     int
	EndpointName string
	Data         interface{}
}

Datasource contains both the data and metadata of a discovered and validated datasource

Directories

Path Synopsis
Package certificate provides code to create and write a self-signed TLS certificate
Package certificate provides code to create and write a self-signed TLS certificate
Package file performs operations related to file discovery, validation, conversion and load to the cache
Package file performs operations related to file discovery, validation, conversion and load to the cache
Package routes contains all the handlers used in the application
Package routes contains all the handlers used in the application
Package watcher monitors a data folder and performs automatic reloading of data including updating the datasource cache in memory for deleted and edited data files
Package watcher monitors a data folder and performs automatic reloading of data including updating the datasource cache in memory for deleted and edited data files

Jump to

Keyboard shortcuts

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