_const

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// Apito DefaultCloud Database
	ApitoDB string = "apitoDB"

	// SQL driver
	MySQLDriver   string = "mysql"
	MariaDBDriver string = "mariadb"
	SQLiteDriver  string = "sqlite"

	PostgreSQLDriver string = "postgresql"
	SQLServerDriver  string = "sqlServer"
	OracleDriver     string = "oracle"

	// NoSQL driver
	MongoDBDriver   string = "mongodb"
	CouchbaseDriver string = "couchbase"

	// Cloud Driver
	DynamoDB  string = "dynamoDB"
	FireStore string = "firestore"

	// EmbeddedDB Embedded Database
	CoreDB string = "coredb"
	BoltDB string = "bbolt"

	// RedisDriver KeyValue database
	RedisDriver string = "redis"

	MemoryDB string = "memory" // usually its sync.Map{}
)
View Source
const (
	DefaultProtocolVersion  = 1
	DefaultMagicCookieKey   = "APITO_PLUGIN"
	DefaultMagicCookieValue = "apito_plugin_magic_cookie_v1"
)

Default handshake configuration for HashiCorp plugins

View Source
const (
	HashiCorpNormalPlugin   = "normal"
	HashiCorpStoragePlugin  = "storage"
	HashiCorpFunctionPlugin = "function"
)

Plugin types for HashiCorp system

View Source
const (
	NormalPluginRPCName    = "NormalPlugin"
	StoragePluginRPCName   = "StoragePlugin"
	FunctionPluginRPCName  = "FunctionPlugin"
	InjectedServiceRPCName = "InjectedService"
)

RPC plugin names

View Source
const (
	IntInput      string = "int"
	BoolInput     string = "bool"
	DoubleInput   string = "double"
	StringInput   string = "string"
	GeoInput      string = "geo"
	ObjectInput   string = "object"
	RepeatedInput string = "repeated"
)
View Source
const (
	TextField      string = "text"
	MediaField     string = "media"
	MultilineField string = "multiline"
	DateField      string = "date"
	NumberField    string = "number"
	BooleanField   string = "boolean"
	ListField      string = "list"
	GeoField       string = "geo"
	ObjectField    string = "object"
	RepeatedField  string = "repeated"
)

Variables

Functions

func GetInputTypebyFieldType added in v1.1.4

func GetInputTypebyFieldType(inputType string) string

#todo add better error handling if the type doest not exits or unmatched

Types

This section is empty.

Jump to

Keyboard shortcuts

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