package osutil
import "github.com/tredoe/osutil"
Index ¶
Functions ¶
func SetupLogger ¶
SetupLogger setups the loggers used by some packages. 'log' is used by the packages 'edi', 'fileutil' and 'userutil'. 'logShell' is used by the packages 'executil' and 'pkg'.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
config | |
config/shconf | Package shconf implements a parser and scanner for the configuration in format shell-variable. |
edi | Package edi allows edit files. |
executil | Package executil lets to call to system commands. |
fileutil | Package fileutil handles common operations in files. |
internal | |
sysutil | Package sysutil defines operating systems and detects the Linux distribution. |
userutil | Package userutil provides access to UNIX users database in local files. |
userutil/crypt | Package crypt provides interface for password crypt functions and collects common constants. |
userutil/crypt/apr1_crypt | Package apr1_crypt implements the standard Unix MD5-crypt algorithm created by Poul-Henning Kamp for FreeBSD, and modified by the Apache project. |
userutil/crypt/common | Package common contains routines used by multiple password hashing algorithms. |
userutil/crypt/md5_crypt | Package md5_crypt implements the standard Unix MD5-crypt algorithm created by Poul-Henning Kamp for FreeBSD. |
userutil/crypt/sha256_crypt | Package sha256_crypt implements Ulrich Drepper's SHA256-crypt password hashing algorithm. |
userutil/crypt/sha512_crypt | Package sha512_crypt implements Ulrich Drepper's SHA512-crypt password hashing algorithm. |
- Version
- v1.3.5
- Published
- Aug 19, 2021
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 2 seconds ago –
Tools for package owners.