Skip to content
General purpose libraries used by Vanadium.
Go
Branch: master
Clone or download
tatatodd and gauthamt Add vlog.VDepth and vlog.InfoFileLine (#41)
* Add vlog.VDepth and vlog.InfoFileLine

* remove spurious newline
Latest commit 7d6f5ee Aug 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd v.io/x/lib: update to go 1.12 and incorporate llog (#37) Mar 2, 2019
cmdline lib/cmd/flagvar: allow for struct embedding (#27) Nov 30, 2018
dbutil dbutil: Make error messages slightly more useful Feb 4, 2016
envvar lib: Add helper functions to envvar to manipulate token lists. Feb 29, 2016
gcm extract part of monitoring lib to x/lib/gcm. May 13, 2016
gosh v.io/x/lib/gosh: add support for windows and use ErrorDepth correctly Dec 30, 2016
host all: add .api files necessary for public API presubmit check Apr 23, 2015
ibe "x/lib": Marshal IBE master Feb 25, 2016
llog Add vlog.VDepth and vlog.InfoFileLine (#41) Aug 15, 2019
lookpath lib: Address https://v.io/i/1220 Mar 17, 2016
metadata Get the tests for the metadata package to work for go 1.7 Aug 25, 2016
netconfig x/lib/netconfig,netstate: make it possible to avoid using cgo (#24) Nov 19, 2018
netstate x/lib/netconfig,netstate: make it possible to avoid using cgo (#24) Nov 19, 2018
nsync nsync: tune test parameters for travis vs non-travis CI (#34) Jan 2, 2019
set lib: utility functions for manipulating sets of primitive type Jun 15, 2015
simplemr v.io/x/lib/simplemr: fix data race and time dependent test. Feb 24, 2016
textutil v.io/x/lib/gosh: add support for windows and use ErrorDepth correctly Dec 30, 2016
timing lib: Update v.io/x/lib/timing to a single implementation Oct 23, 2015
toposort all: add .api files necessary for public API presubmit check Apr 23, 2015
vlog Add vlog.VDepth and vlog.InfoFileLine (#41) Aug 15, 2019
.gitignore TBR: lib: Remove .v23 from all .gitignore files. Feb 11, 2016
.godepcop lib: Add test.V23InitWithNamespace Jun 12, 2015
.travis.yml go-1.12.5 (#38) May 30, 2019
AUTHORS lib: adding copyright headers and licensing files Mar 25, 2015
CONTRIBUTING.md TBR: lib: update 'docs' references to point to vanadium.github.io Feb 6, 2016
CONTRIBUTORS lib: updating the CONTRIBUTORS file Apr 30, 2015
LICENSE lib: adding copyright headers and licensing files Mar 25, 2015
PATENTS lib: adding copyright headers and licensing files Mar 25, 2015
README.md Update readme (#26) Nov 25, 2018
VERSION TBR: lib: Make all versions 'v23-0.1'. Apr 4, 2016
go.mod Update golang/x/oauth to the head (#39) Jun 25, 2019
go.sum Update golang/x/oauth to the head (#39) Jun 25, 2019

README.md

Build Status

This repository contains general purpose libraries created by and used by the [github.com/vanadium](Vanadium project). They do not depend on Vanadium and are more broadly useful.

  • Creating and managing command lines, flag definitions and variables.

    • cmdline - comprehensive support for multi-level command lines (as per git etc) including support for generating godoc output fully documenting the command via go generate.
    • cmd/linewrap - formats text with appropriate word wrapping.
    • cmd/flagvar - allows appropriately tagged fields in structs to be used as flag variables.
    • lookpath - utilities for finding executables given a search path (typically $PATH).
    • envvar - routines for managing environment variables.
  • Networking

    • host - utilities for accessing host information.
    • netconfig - provides the ability to monitor the underlying host for network changes and to read the OS route table. It is typically used by applications that need to monitor for IP address and routing changes in order to reconfigure themselves accordingly.
    • netstate - a comprehensive set of IPv4 and v6 aware functions for comparing a prior network state with the current one. This approach is the only way to reliably determine how a host's network configuration has changed.
  • Miscelleneous

    • dbutil - create and manage connections to MySQL-like databases.
    • metadata - provides a mechanism for setting and retrieving metadata stored in program binaries
    • nsync - mutex and condition variables that support cancelation.
    • toposort - a topoligcal sort implementation.
    • set - utility functions for manipulating sets of primitive type elements represented as maps
    • simplemr - a simple map reduce framework for use by single-process applications
    • textutil - utilities for handling human-readable tex
    • timing - utilities for tracking timing information
    • vlog - wraps the Google glog package to make it easier to configure and integrate with other command lines.
  • Security

    • ibe - provides identity-based encryption as per "Identity-Based Cryptosystems And Signature Schemes"
  • Testing

    • gosh - allows for running aribrary commands as subprocesses (and also as builtin functions). It is very useful for testing and also for running subproceeses in general since it takes care of managing all I/O and allows for 'tee-ing' of output etc.
You can’t perform that action at this time.