fscore

package
v1.101.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilepath

func GetFilepath(baseDir, path string) string

GetFilepath returns full path to file for the given baseDir and path.

func ReadFileOrHTTP

func ReadFileOrHTTP(path string) ([]byte, error)

ReadFileOrHTTP reads path either from local filesystem or from http if path starts with http or https.

func ReadPasswordFromFileOrHTTP

func ReadPasswordFromFileOrHTTP(path string) (string, error)

ReadPasswordFromFileOrHTTP reads password for the give path.

The path can be an url - then the password is read from url.

Types

This section is empty.

Jump to

Keyboard shortcuts

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