Files

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
}