/
View dependency graph
Depends on
- dh-golang (dh-sequence-golang)
- golang-defaults (golang-any)
- golang-github-prometheus-client-golang (golang-github-prometheus-client-golang-dev, golang-prometheus-client-dev)
- golang-github-prometheus-client-model (golang-github-prometheus-client-model-dev)
- golang-google-protobuf (golang-google-protobuf-dev)
- debhelper-compat
Used by
README (full)
PTutil
A collection of utilities for Pluggable Transports.
SafeLog
A safer logging wrapper around the standard logging package. It removes private parts from the logs, like IP addresses.
log.SetOutput(&safelog.LogScrubber{Output: os.Stderr})
SafeProm
Implements some additional prometheus metrics that we need for privacy preserving counts of users and proxies.
usersTotal = safeprom.NewRoundedCounterVec(
prometheus.CounterOpts{
Name: "rounded_users_total",
Help: "The number of users, rounded up to a multiple of 8",
},
[]string{"status"},
)
usersTotal.WithLabelValues("active").Inc()
| dir | debian/ |
| dir | safelog/ |
| dir | safeprom/ |
| file | .gitlab-ci.yml |
| file | LICENSE |
| file | README.md |
| file | go.mod |
| file | go.sum |