Skip to content

Commit

Permalink
Transport scaffold. (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelquigley committed Aug 11, 2021
1 parent d69777e commit 734d36b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions transport.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package dilithium

import "io"

type Transport interface {
io.Reader
io.Writer
io.Closer
}
1 change: 1 addition & 0 deletions txportal.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ type TxPortal struct {
alg TxAlgorithm
monitor *TxMonitor
closer *Closer
transport Transport
}

type TxAlgorithm interface {
Expand Down

0 comments on commit 734d36b

Please sign in to comment.