core

package
v0.0.0-...-acfd9b1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FLUFIKHOME             = ".flufik"
	FLUFIKKEYSDIR          = "keys"
	USERDB                 = "user.db"
	PGPDB                  = "pgp.db"
	FLUFIKLOGGINGDIR       = "logs"
	FLUFIKPKGCONFIGDIR     = "configs" //yaml configuration file or template, to build based on that package
	FLUFIKPKGOUTPUTDIR     = "output"
	FLUFIKLOGGINGFILE      = "all.log"
	FLUFIKSERVICECONFIGDIR = "service"
	FLUFIKSERVICEWEB       = "flufikweb"
	FLUFIKROOTPATH         = "/opt/flufik"
	FLUFIKNOSQLDB          = "flufikdb"
)

Variables

View Source
var Version = ""

Functions

func CheckArch

func CheckArch(packageName string) string

func CheckPackage

func CheckPackage(fileName string) string

func FlufikConfigurationHome

func FlufikConfigurationHome() string

func FlufikCurrentDir

func FlufikCurrentDir() string

func FlufikHome

func FlufikHome() string

func FlufikKeysHome

func FlufikKeysHome() string

func FlufikLoggingFilePath

func FlufikLoggingFilePath() string

func FlufikLoggingHome

func FlufikLoggingHome() string

func FlufikMakePathAbs

func FlufikMakePathAbs(path string) (abs string, err error)

func FlufikNoSqlDbPath

func FlufikNoSqlDbPath() string

func FlufikOutputHome

func FlufikOutputHome() string

func FlufikPgpDbPath

func FlufikPgpDbPath() string

func FlufikPkgFilePath

func FlufikPkgFilePath(pkg, dirPath string) string

func FlufikRootHome

func FlufikRootHome() string

func FlufikServiceConfigurationHome

func FlufikServiceConfigurationHome() string

func FlufikServiceWebHome

func FlufikServiceWebHome(rootPath string) string

func FlufikUserDbPath

func FlufikUserDbPath() string

func Home

func Home() string

func OpenFile

func OpenFile(fileName string, path string) (*os.File, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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