Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The page can be added to the phone's home screen with its own icon: "Share → A

"Air 5/15/30/60" sends `system_mode: off` for that many minutes, with 5 for a quick Stoßlüften. When the time is up, or on "Heat again", the room gets back the mode and target from before.

The service keeps no saved state, so a restart during airing forgets it: **that room stays off until someone taps "Heat again"**. A target waiting to be sent is lost too. The thermostat's own frost protection still applies.
Airing is saved, so it carries on after a restart or release: a room that should be off is turned off again, and one whose time ran out while the service was down gets heat back right away. A change that can't be saved isn't made, and the page says so. See [Saved state](#saved-state).

- A target changed during airing is applied when it ends.
- A thermostat leaving off during airing gets off once more. If it leaves off again, someone is at the radiator, so airing ends. So turning it on by hand during airing takes two tries.
Expand All @@ -32,11 +32,27 @@ Optional:

The chart needs Kubernetes and Helm. Without them, run the binary or image with `-config <file>`, using the same settings as `config` in the chart's [`values.yaml`](charts/heating-control/values.yaml).

Nothing else is needed: no database, and no storage, because all state is in memory.
It also needs a writable directory that survives a restart, `dataDir`: the chart mounts a persistent volume there. See [Saved state](#saved-state).

## Saved state

The service keeps one SQLite database, `heating-control.db` in `dataDir`. It holds only what can't come back from the thermostats: for each room that is airing, when airing ends, the mode to go back to, and a target chosen during airing. A room's row is deleted once its thermostat confirms it is heating again, so the file is a few kilobytes. Everything else is in memory and comes back from the thermostats' reports. Migrations are part of the binary and run at start; an older binary refuses a newer database.

A request is answered only once its change is saved. If saving fails, the change isn't made and the page shows "Not changed". When airing ends while the database can't be written, the room still gets heat back, and the database catches up later.

If the file is lost, nothing unsafe happens: a room that was airing stays off until someone taps "Heat again" (the `TrvStuckOffWarning` alert fires after 2 hours), and a target chosen during airing is lost. Because of that, restoring a backup is optional: an old copy may even hold airing that is long over, which then simply ends at once. The service starts with an empty database if there is none, but refuses to start if it can't open or migrate the file.

To copy the database while the service runs:

```bash
kubectl exec -n <namespace> deploy/<release> -- /heating-control backup /data/backup.db
```

The target must not exist yet. Copying it off the node is up to the cluster's backup.

## Deployment

The Helm chart in [`charts/heating-control`](charts/heating-control) is published with every release as `oci://ghcr.io/subpathdev/charts/heating-control`. Set `config.broker` and `config.rooms`; adding a room is one more entry in `config.rooms`. Run one replica only, and give any other instance its own `config.clientId`: a second client with the same ID disconnects the first.
The Helm chart in [`charts/heating-control`](charts/heating-control) is published with every release as `oci://ghcr.io/subpathdev/charts/heating-control`. Set `config.broker` and `config.rooms`; adding a room is one more entry in `config.rooms`. The chart creates a 64 Mi persistent volume for `config.dataDir` (see `persistence` in `values.yaml`), and keeps it when the release is uninstalled. Run one replica only, and give any other instance its own `config.clientId`: a second client with the same ID disconnects the first.

## API

Expand Down
2 changes: 2 additions & 0 deletions charts/heating-control/ci-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
persistence:
storageClass: local-path
9 changes: 8 additions & 1 deletion charts/heating-control/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
{{- include "heating-control.labels" . | nindent 4 }}
spec:
replicas: 1
# A fixed MQTT client ID: two pods would keep disconnecting each other.
# A fixed MQTT client ID: two pods would keep disconnecting each other, and the
# database has one writer on a ReadWriteOnce volume.
strategy:
type: Recreate
selector:
Expand All @@ -25,6 +26,7 @@ spec:
runAsNonRoot: true
runAsUser: 65532
runAsGroup: 65532
fsGroup: 65532
seccompProfile:
type: RuntimeDefault
containers:
Expand Down Expand Up @@ -55,7 +57,12 @@ spec:
- name: config
mountPath: /etc/heating-control
readOnly: true
- name: data
mountPath: {{ .Values.config.dataDir }}
volumes:
- name: config
configMap:
name: {{ .Release.Name }}
- name: data
persistentVolumeClaim:
claimName: {{ .Values.persistence.existingClaim | default (printf "%s-data" .Release.Name) }}
19 changes: 19 additions & 0 deletions charts/heating-control/templates/pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{- if not .Values.persistence.existingClaim }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .Release.Name }}-data
labels:
{{- include "heating-control.labels" . | nindent 4 }}
annotations:
# Uninstalling the release keeps the saved airing.
helm.sh/resource-policy: keep
spec:
accessModes: ["ReadWriteOnce"]
{{- with .Values.persistence.storageClass }}
storageClassName: {{ . | quote }}
{{- end }}
resources:
requests:
storage: {{ .Values.persistence.size }}
{{- end }}
12 changes: 11 additions & 1 deletion charts/heating-control/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"properties": {
"config": {
"type": "object",
"required": ["broker", "rooms"],
"required": ["broker", "rooms", "dataDir"],
"properties": {
"broker": { "type": "string", "minLength": 1 },
"dataDir": { "type": "string", "pattern": "^/" },
"rooms": {
"type": "array",
"minItems": 1,
Expand All @@ -24,6 +25,15 @@
}
}
},
"persistence": {
"type": "object",
"required": ["size"],
"properties": {
"size": { "type": "string", "minLength": 1 },
"storageClass": { "type": "string" },
"existingClaim": { "type": "string" }
}
},
"service": {
"type": "object",
"properties": {
Expand Down
11 changes: 11 additions & 0 deletions charts/heating-control/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ config:
rooms: []
# Host names the page is reached by. IP addresses and localhost always work.
allowedHosts: []
# Where the database with the saved airing lives. The persistent volume is
# mounted here.
dataDir: /data

# The volume for dataDir. Losing it is safe, see "Saved state" in the README.
persistence:
size: 64Mi
# Empty uses the cluster's default storage class.
storageClass: ""
# Use this claim instead of creating one.
existingClaim: ""

service:
type: ClusterIP
Expand Down
78 changes: 69 additions & 9 deletions cmd/heating-control/main.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
// Command heating-control serves the phone page for the heating.
//
// heating-control [-config file] serves the page (the default)
// heating-control [-config file] backup <file> copies the database while it runs
package main

import (
"context"
"errors"
"flag"
"fmt"
"log"
"net/http"
"os"
Expand All @@ -17,27 +21,81 @@ import (
"github.com/subpathdev/heating-control/internal/health"
"github.com/subpathdev/heating-control/internal/metrics"
"github.com/subpathdev/heating-control/internal/mqtt"
"github.com/subpathdev/heating-control/internal/sqlite"
"github.com/subpathdev/heating-control/internal/web"
)

// version is set at build time.
var version = "dev"

// app holds what every command needs.
type app struct {
cfg *config.Config
db sqlite.DB
}

func main() {
configPath := flag.String("config", "/etc/heating-control/config.yaml", "path to the config file")
flag.Usage = func() {
_, _ = fmt.Fprintf(flag.CommandLine.Output(), "usage: %s [-config file] [serve | backup <file>]\n", os.Args[0])
flag.PrintDefaults()
}
flag.Parse()

cfg, err := config.Load(*configPath)
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()

if err := run(ctx, *configPath, flag.Args()); err != nil {
log.Fatal(err)
}
}

func run(ctx context.Context, configPath string, args []string) error {
cfg, err := config.Load(configPath)
if err != nil {
return fmt.Errorf("config: %w", err)
}
db, err := sqlite.Open(ctx, cfg.DataDir)
if err != nil {
log.Fatalf("config: %v", err)
return err
}
a := &app{cfg: cfg, db: db}
defer func() {
if err := db.Close(); err != nil {
log.Printf("close database: %v", err)
}
}()

ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()
switch {
case len(args) == 0 || len(args) == 1 && args[0] == "serve":
return a.serve(ctx)
case len(args) == 2 && args[0] == "backup":
return a.backup(ctx, args[1])
default:
flag.Usage()
return fmt.Errorf("unknown command %q", args)
}
}

client := mqtt.New(cfg)
// backup writes a consistent copy of the database to path, which must not
// exist. It can run next to a serving instance.
func (a *app) backup(ctx context.Context, path string) error {
if err := a.db.Backup(ctx, path); err != nil {
return fmt.Errorf("backup to %s: %w", path, err)
}
log.Printf("database copied to %s", path)
return nil
}

// serve runs the page, the API and the controller until ctx is done.
func (a *app) serve(ctx context.Context) error {
client := mqtt.New(a.cfg)
m := metrics.New(version)
ctrl := controller.New(cfg, m.Thermostat(client))
// Loaded before anything is sent, so a saved airing carries on.
ctrl, err := controller.New(ctx, a.cfg, m.Thermostat(client), a.db)
if err != nil {
return err
}
client.Start(ctrl)
defer client.Close()

Expand All @@ -49,7 +107,7 @@ func main() {
health.Register(mux, version, checker)
mux.Handle("GET /metrics", m.Handler())
// Probes and scrapes use the pod's IP and stay outside the page's checks.
mux.Handle("/", web.Handler(ctrl, checker, cfg.AllowedHosts))
mux.Handle("/", web.Handler(ctrl, checker, a.cfg.AllowedHosts))

srv := &http.Server{
Addr: ":8080",
Expand All @@ -75,9 +133,11 @@ func main() {

log.Printf("heating-control %s listening on %s", version, srv.Addr)
if err := srv.ListenAndServe(); !errors.Is(err, http.ErrServerClosed) {
log.Fatal(err)
return err
}
// ListenAndServe returns as soon as Shutdown starts, so let requests finish.
// ListenAndServe returns as soon as Shutdown starts, so let requests finish,
// and the controller stop before the database closes.
<-shutdownDone
<-controllerDone
return nil
}
12 changes: 10 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,28 @@ require (
github.com/oapi-codegen/runtime v1.9.1
github.com/prometheus/client_golang v1.25.0
gopkg.in/yaml.v3 v3.0.1
modernc.org/sqlite v1.63.0
)

require (
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/dustin/go-humanize v1.1.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/mattn/go-isatty v0.0.24 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/ncruces/go-strftime v1.1.0 // indirect
github.com/prometheus/client_model v0.6.3 // indirect
github.com/prometheus/common v0.72.0 // indirect
github.com/prometheus/procfs v0.22.0 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
golang.org/x/net v0.59.0 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/sys v0.48.0 // indirect
golang.org/x/sync v0.24.0 // indirect
golang.org/x/sys v0.49.0 // indirect
google.golang.org/protobuf v1.36.12 // indirect
modernc.org/libc v1.80.1 // indirect
modernc.org/mathutil v1.7.1 // indirect
modernc.org/memory v1.12.1 // indirect
)
52 changes: 48 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,31 @@ github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvF
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dustin/go-humanize v1.1.0 h1:dbKTrvD0klcbBV/h4AWJdMuZogJACoMlvWIWZ5b2xWg=
github.com/dustin/go-humanize v1.1.0/go.mod h1:hc1CvRkJMsgxqjmjMQF3QNRAZBwY8AXBAzKYoSX9sFI=
github.com/eclipse/paho.mqtt.golang v1.5.1 h1:/VSOv3oDLlpqR2Epjn1Q7b2bSTplJIeV2ISgCl2W7nE=
github.com/eclipse/paho.mqtt.golang v1.5.1/go.mod h1:1/yJCneuyOoCOzKSsOTUc0AJfpsItBGWvYpBLimhArU=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/pprof v0.0.0-20261016150608-1facf8f91b50 h1:PlNWJRxu5APSV0pWqfIsZ0qt9OOGHSWfZQ4zvx+WgWs=
github.com/google/pprof v0.0.0-20261016150608-1facf8f91b50/go.mod h1:yUo1AMMpsPIDFGuwDK8nLcf8+vvAd5l2O6JDZ6hpwrM=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k=
github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
github.com/juju/gnuflag v0.0.0-20171113085948-2ce1bb71843d/go.mod h1:2PavIy+JPciBPrBUjwbNvtwB6RQlve+hkpll6QSNmOE=
github.com/klauspost/compress v1.20.1 h1:T7kKElXUMXrUJ2E9QhQhxFtcK5rPyLdsGZvdbLMPdiQ=
github.com/klauspost/compress v1.20.1/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/mattn/go-isatty v0.0.24 h1:tGZZoVgT/KiqK1c8ocVLeDS8BSWMRd47J3Lbz7vsReI=
github.com/mattn/go-isatty v0.0.24/go.mod h1:nMCL3Zebbrt45jsMDgnfIwz6ydEQApk5oEI3HqDio6A=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/ncruces/go-strftime v1.1.0 h1:vtPmPWMkb539RGV9WpWT9EwJGvrOCKvMNI4obWL47Hk=
github.com/ncruces/go-strftime v1.1.0/go.mod h1:yVaq7iwCN09vHRrKBrrflXT0M9tTMG2KmZ9Fj7xeG/g=
github.com/oapi-codegen/nullable v1.2.0 h1:VflFkDW980KhBPiFF7nWSyjg+r4Obqj8lXipV0UkP5w=
github.com/oapi-codegen/nullable v1.2.0/go.mod h1:KUZ3vUzkmEKY90ksAmit2+5juDIhIZhfDl+0PwOQlFY=
github.com/oapi-codegen/runtime v1.9.1 h1:77xKS3fIvTBRSCivMyY79002dqH1SMCunGjm/vB9eXY=
Expand All @@ -35,6 +45,8 @@ github.com/prometheus/common v0.72.0 h1:tAYsE+sPJxIncDAobm4H5aQjmox9ZxEIIqPbiffa
github.com/prometheus/common v0.72.0/go.mod h1:77NWqAQ2tXT7BIK40qjJdw5Acrsrg1TlHAnsQi3i6mk=
github.com/prometheus/procfs v0.22.0 h1:6q9+/JL9IKAPbCmBrv9n5O5Ty3NKnciV5X7YGw0oics=
github.com/prometheus/procfs v0.22.0/go.mod h1:CvmFr/GVhIjIvWJZW3tgkODBQMRIf0EyWMQLHCHab58=
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE=
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=
github.com/spkg/bom v0.0.0-20160624110644-59b7046e48ad/go.mod h1:qLr4V1qq6nMqFKkMo8ZTx3f+BZEkzsRUY10Xsm2mwU0=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
Expand All @@ -46,15 +58,47 @@ go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ=
go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ=
go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw=
go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg=
golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg=
golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs=
golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues=
golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg=
golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek=
golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo=
golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA=
golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0=
golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA=
golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
golang.org/x/tools v0.52.0 h1:ryxg4U63oaUYk7uOLTF37n43f4qgtGvqV4Ioit1BaEs=
golang.org/x/tools v0.52.0/go.mod h1:ItcP5UNaVGG+Yc4eIYmaFLNJ4soEopkx5Y2d4lcEurs=
google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc=
google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
modernc.org/cc/v4 v4.30.6-0.20261101114202-1b9d1a076f6b h1:WE5SLOURcNd8s6uPR/n4WV4weQxxYKi5OpEZkfNVvdE=
modernc.org/cc/v4 v4.30.6-0.20261101114202-1b9d1a076f6b/go.mod h1:OnovgIhbbMXMu1aISnJ0wvVD1KnW+cAUJkIrAWh+kVI=
modernc.org/ccgo/v4 v4.38.1 h1:wdxJVBuFT8JufZnnQyS6Bbz3NOWhViD0xJOGR96Bpd4=
modernc.org/ccgo/v4 v4.38.1/go.mod h1:kOpEkJRbFwBvjUWwn4j1j9B7iFHbl1+orhgTMCDkDBk=
modernc.org/fileutil v1.4.0 h1:j6ZzNTftVS054gi281TyLjHPp6CPHr2KCxEXjEbD6SM=
modernc.org/fileutil v1.4.0/go.mod h1:EqdKFDxiByqxLk8ozOxObDSfcVOv/54xDs/DUHdvCUU=
modernc.org/gc/v2 v2.6.5 h1:nyqdV8q46KvTpZlsw66kWqwXRHdjIlJOhG6kxiV/9xI=
modernc.org/gc/v2 v2.6.5/go.mod h1:YgIahr1ypgfe7chRuJi2gD7DBQiKSLMPgBQe9oIiito=
modernc.org/gc/v3 v3.2.0 h1:/Y3LGDMQaoYf55PebP1qsZ5FDGgAZyG1RYKEHeQzh1o=
modernc.org/gc/v3 v3.2.0/go.mod h1:HFK/6AGESC7Ex+EZJhJ2Gni6cTaYpSMmU/cT9RmlfYY=
modernc.org/goabi0 v0.2.0 h1:HvEowk7LxcPd0eq6mVOAEMai46V+i7Jrj13t4AzuNks=
modernc.org/goabi0 v0.2.0/go.mod h1:CEFRnnJhKvWT1c1JTI3Avm+tgOWbkOu5oPA8eH8LnMI=
modernc.org/libc v1.80.1 h1:ejn7HtTV3GknNKbklqWQ1nvUrfX8mTxs1D+xp/JQwy4=
modernc.org/libc v1.80.1/go.mod h1:pvo25Rs3OJEbDqhUV9jdEGevxeLJrJeDmNid/AcQV1g=
modernc.org/mathutil v1.7.1 h1:GCZVGXdaN8gTqB1Mf/usp1Y/hSqgI2vAGGP4jZMCxOU=
modernc.org/mathutil v1.7.1/go.mod h1:4p5IwJITfppl0G4sUEDtCr4DthTaT47/N3aT6MhfgJg=
modernc.org/memory v1.12.1 h1:nFMiWrpStgZczNl6XI9GnIk/rWhYIyHGUaR04pGbp9g=
modernc.org/memory v1.12.1/go.mod h1:/JP4VbVC+K5sU2wZi9bHoq2MAkCnrt2r98UGeSK7Mjw=
modernc.org/opt v0.2.0 h1:tGyef5ApycA7FSEOMraay9SaTk5zmbx7Tu+cJs4QKZg=
modernc.org/opt v0.2.0/go.mod h1:03fq9lsNfvkYSfxrfUhZCWPk1lm4cq4N+Bh//bEtgns=
modernc.org/sortutil v1.2.1 h1:+xyoGf15mM3NMlPDnFqrteY07klSFxLElE2PVuWIJ7w=
modernc.org/sortutil v1.2.1/go.mod h1:7ZI3a3REbai7gzCLcotuw9AC4VZVpYMjDzETGsSMqJE=
modernc.org/sqlite v1.63.0 h1:ClxazqRFNfr7XPHTVLbyzTVz2PjWPz+BfJNu2e8JDMs=
modernc.org/sqlite v1.63.0/go.mod h1:Jzjh1mt4s0HuQ0KvtB1LIuHiGRmU2D5pgj8dUhW7/SE=
modernc.org/strutil v1.2.1 h1:UneZBkQA+DX2Rp35KcM69cSsNES9ly8mQWD71HKlOA0=
modernc.org/strutil v1.2.1/go.mod h1:EHkiggD70koQxjVdSBM3JKM7k6L0FbGE5eymy9i3B9A=
modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y=
modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM=
Loading