osutil – github.com/tredoe/osutil Index | Files | Directories

package osutil

import "github.com/tredoe/osutil"

Index

Functions

func SetupLogger

func SetupLogger(log, logShell *log.Logger)

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

log.go

Directories

PathSynopsis
config
config/shconfPackage shconf implements a parser and scanner for the configuration in format shell-variable.
ediPackage edi allows edit files.
executilPackage executil lets to call to system commands.
fileutilPackage fileutil handles common operations in files.
internal
sysutilPackage sysutil defines operating systems and detects the Linux distribution.
userutilPackage userutil provides access to UNIX users database in local files.
userutil/cryptPackage crypt provides interface for password crypt functions and collects common constants.
userutil/crypt/apr1_cryptPackage apr1_crypt implements the standard Unix MD5-crypt algorithm created by Poul-Henning Kamp for FreeBSD, and modified by the Apache project.
userutil/crypt/commonPackage common contains routines used by multiple password hashing algorithms.
userutil/crypt/md5_cryptPackage md5_crypt implements the standard Unix MD5-crypt algorithm created by Poul-Henning Kamp for FreeBSD.
userutil/crypt/sha256_cryptPackage sha256_crypt implements Ulrich Drepper's SHA256-crypt password hashing algorithm.
userutil/crypt/sha512_cryptPackage 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.