Jan Dittberner
f3c0e1379f
- Rename client.CertInfo to CACertificateInfo - declare commands channel inside client.Run, there is no need to inject it from the outside - let command generating code in client.commandLoop run in goroutines to allow parallel handling of queued commands and avoid blocking operations - pass context to command generating functions to allow cancellation - guard access to c.knownCACertificates by mutex.Lock and mutex.Unlock - make command channel capacity configurable - update to latest cacert-gosigner dependency for channel direction support - improve handling of closed input channel - reduce client initialization to serial connection setup, move callback and handler parameters to client.Run invocation
21 lines
614 B
Modula-2
21 lines
614 B
Modula-2
module git.cacert.org/cacert-gosignerclient
|
|
|
|
go 1.19
|
|
|
|
require (
|
|
git.cacert.org/cacert-gosigner v0.0.0-20221204124751-7852c4d3df8c
|
|
github.com/balacode/go-delta v0.1.0
|
|
github.com/shamaton/msgpackgen v0.3.0
|
|
github.com/sirupsen/logrus v1.9.0
|
|
github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/balacode/zr v1.1.2 // indirect
|
|
github.com/dave/jennifer v1.6.0 // indirect
|
|
github.com/google/uuid v1.3.0 // indirect
|
|
github.com/justincpresley/go-cobs v1.3.1 // indirect
|
|
github.com/shamaton/msgpack/v2 v2.1.1 // indirect
|
|
golang.org/x/sys v0.2.0 // indirect
|
|
)
|