validators

package
v1.8.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAndValidateWorkspaceToken added in v0.1.10

func CheckAndValidateWorkspaceToken() error

func InitializeNodeMigrations added in v0.1.10

func InitializeNodeMigrations() error

InitializeEnv initializes the environment for the server

func IsPostgresCompatible added in v0.1.10

func IsPostgresCompatible(ctx context.Context, db *sql.DB) (bool, error)

IsPostgresCompatible checks the if the version of postgres is greater than minPostgresVersion

func ValidateEnv

func ValidateEnv() error

ValidateEnv validates the current environment available for the server

Types

This section is empty.

Jump to

Keyboard shortcuts

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