~bigbes/core-go

ref: e1b63989b2361920a243c8c051044451c3fafab9 core-go/go.mod -rw-r--r-- 2.8 KiB
e1b63989 — Conrad Hoffmann 1 year, 9 months ago
redis: use UniveralClient, support sentinel mode

This commit switches the redis client to using a UniversalClient [1],
which can operate in standard, cluster, or failover (sentinel) mode.

It also implements basic support for having (multiple)
`redis+sentinel://` URLs as connection URL in the config (e.g. for
`redis-host`).

This is the Go equivalent of the proposed Python patch [2]. It supports
the same examples given there.

[1] https://pkg.go.dev/github.com/go-redis/redis/v8#UniversalClient
[2] https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/55521
069c77be — Drew DeVault 2 years ago
email: update StartTLS usage per go-smtp changes
53966da2 — Simon Ser 2 years ago
Drop gqlparser v1 dependency

Only use v2 throughout the repository.
d2ad494f — Simon Ser 2 years ago
Migrate to chi v5

v1 is not maintained anymore.
cfae7bae — Simon Ser 3 years ago
Upgrade dependencies
156c5e26 — Adnan Maolood 3 years ago
s3: Import middleware from pages.sr.ht

Closes: https://todo.sr.ht/~sircmpwn/pages.sr.ht/19
1f6fac1d — Simon Ser 3 years ago
go mod tidy

Fixes the following error when running `go test`:

    ../../go/pkg/mod/github.com/prometheus/client_golang@v1.14.0/prometheus/internal/metric.go:19:2: missing go.sum entry for module providing package github.com/prometheus/client_model/go (imported by github.com/prometheus/client_golang/prometheus); to add:
    	go get github.com/prometheus/client_golang/prometheus@v1.14.0
fa27910a — Drew DeVault 3 years ago
Add prometheus SQL connection stats

Also updates the prometheus client_go library
b1540a22 — Conrad Hoffmann 3 years ago
Update pq (Postgres driver) to latest version
dd20891a — Julien Moutinho 4 years ago
Replace x/crypto package by ProtonMail/go-crypto to support ed25519 OpenPGP keys
31e77bac — Peter Sanchez 4 years ago
Add support for mail setups that don't support TLS or Auth
4f926ddc — Drew DeVault 4 years ago
auth: fix /query/api-meta.json route

This route does not need authentication.
61ab3f08 — Drew DeVault 5 years ago
Update go-bare
407afe7d — Drew DeVault 5 years ago
Update dependencies
606ff2ef — Drew DeVault 5 years ago
Sign outgoing emails
5414f4c0 — Drew DeVault 5 years ago
Update dowork
af2afebd — Drew DeVault 5 years ago
Add legacy webhooks worker implementation
14f4b921 — Drew DeVault 5 years ago
Expand context for work queues
789f4a81 — Drew DeVault 5 years ago
Simplify server module
0c651498 — Drew DeVault 5 years ago
Add email work queue
Next