breton

module
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: LGPL-3.0

README

What is this?

This library is intended as a state-of-the-art best-practices library that provides examples of best practices in writing Go code.

Some APIs are stable, but others are unstable, and sometimes, a paradigm shift may cause a drastic change in the API.

So, I will apologize ahead of time if I break your code. Most API changes should be relatively small to refactor for.

Directories

Path Synopsis
lib
display/tables
Package tables formats multi-dimensional slices of strings to be formated in formated tables.
Package tables formats multi-dimensional slices of strings to be formated in formated tables.
files
Package files implements an abstraction of accessing data via URL/URIs.
Package files implements an abstraction of accessing data via URL/URIs.
files/about
Package aboutfiles implements a simple "about:" scheme.
Package aboutfiles implements a simple "about:" scheme.
files/cachefiles
Package cachefiles implements a caching filestore accessable through "cache:opaqueURL".
Package cachefiles implements a caching filestore accessable through "cache:opaqueURL".
files/clipboard
Package clipboard implements a scheme for "clipboard:" and "clip:".
Package clipboard implements a scheme for "clipboard:" and "clip:".
files/datafiles
Package datafiles implements the "data:" URL scheme.
Package datafiles implements the "data:" URL scheme.
files/home
Package home implements a URL scheme "home:" which references files according to user home directories.
Package home implements a URL scheme "home:" which references files according to user home directories.
files/httpfiles
Package httpfiles implements the "http:" and "https:" URL schemes.
Package httpfiles implements the "http:" and "https:" URL schemes.
files/json
Package json is intended to replace uses of encoding/json while integrating with the files package.
Package json is intended to replace uses of encoding/json while integrating with the files package.
files/plugins
Package plugins is imported for side-effects and includes default files scheme plugins.
Package plugins is imported for side-effects and includes default files scheme plugins.
files/s3files
Package s3files implements the "s3:" URL scheme.
Package s3files implements the "s3:" URL scheme.
files/socketfiles
Package socketfiles implements the "tcp:", "udp:", and "unix:" URL schemes.
Package socketfiles implements the "tcp:", "udp:", and "unix:" URL schemes.
files/wrapper
Package wrapper provides a files.Files implementation based on a bytes.Buffer backing store, and WriteFn callbacks.
Package wrapper provides a files.Files implementation based on a bytes.Buffer backing store, and WriteFn callbacks.
glog
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
gnuflag
Package gnuflag implements command-line flag parsing compatible with GNU longopts.
Package gnuflag implements command-line flag parsing compatible with GNU longopts.
io/bufpipe
Package bufpipe implements a buffered in-memory pipe where reads will block until data is available.
Package bufpipe implements a buffered in-memory pipe where reads will block until data is available.
metrics
Package metrics provides an abstracted metrics library compatible with prometheus client specifications.
Package metrics provides an abstracted metrics library compatible with prometheus client specifications.
metrics/internal/atomic
Package atomic (DO NOT USE) is a baseline implementation to replace float64 metrics used internally by prometheus.
Package atomic (DO NOT USE) is a baseline implementation to replace float64 metrics used internally by prometheus.
mpeg/ts
Package ts implements a Mux/Demux for the MPEG Transport Stream protocol.
Package ts implements a Mux/Demux for the MPEG Transport Stream protocol.
net/dash
Package dash provides an abstraction to accessing DASH streams.
Package dash provides an abstraction to accessing DASH streams.
net/dash/mpd
Code generated by XSLT from DASH-MPD.xml.
Code generated by XSLT from DASH-MPD.xml.
rand
Package rand provides a wrapper around math/rand that uses crypto/rand for generating seeds.
Package rand provides a wrapper around math/rand that uses crypto/rand for generating seeds.
sort
Package sort provides sorting implementations for all builtin data-types and an implementation of Radix sort.
Package sort provides sorting implementations for all builtin data-types and an implementation of Radix sort.
sync/edge
Package edge implements a simple atomic up/down edge/condition-change detector.
Package edge implements a simple atomic up/down edge/condition-change detector.

Jump to

Keyboard shortcuts

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