Compare commits

..

No commits in common. "6a8af667c361310484380b433a412a2aa626b40a" and "1287efa8a3a6cb03fe25656e3a9e5a1a3606dec1" have entirely different histories.

4 changed files with 5 additions and 11 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.20-alpine3.15 as go-builder
FROM golang:1.19-alpine3.15 as go-builder
ENV GOPATH ""
RUN apk add git

View File

@ -2,12 +2,6 @@
A side project to collect, transport and store data from a Goodwe solar inverter.
## Build
```
GOOS=linux GOARCH=arm go build -o solar-toolkit-daemon ./cmd/daemon
```
## License
Licensed under the MIT license. See the LICENSE file.

View File

@ -19,9 +19,9 @@ type Conn interface {
}
const (
maxAttempts = 4
timeout = time.Second * 10
readBufferSizeBytes = 8_192
maxAttempts = 3
timeout = time.Second * 5
readBufferSizeBytes = 4_096
)
// Send writes the command to the provided Writer, and reads and validates the

2
go.mod
View File

@ -1,6 +1,6 @@
module git.netflux.io/rob/solar-toolkit
go 1.20
go 1.19
require (
github.com/jmoiron/sqlx v1.3.5