mirror of
https://github.com/hanzozt/dilithium.git
synced 2026-10-30 20:38:17 +00:00
13 lines
317 B
Go
13 lines
317 B
Go
package dilithium
|
|
|
|
import "io"
|
|
|
|
// Adapter abstracts the underlying communication mechanism that dilithium is managing. Implementations are free to
|
|
// manage whatever state is necessary, and need to provide a basic `Read`, `Write`, and `Close` facility.
|
|
//
|
|
type Adapter interface {
|
|
io.Reader
|
|
io.Writer
|
|
io.Closer
|
|
}
|