Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeReaderDecorator ¶
type CompositeReaderDecorator []ReaderDecorator
func (CompositeReaderDecorator) DecorateReader ¶
func (c CompositeReaderDecorator) DecorateReader(r io.ReadCloser) io.ReadCloser
type CompositeWriterDecorator ¶
type CompositeWriterDecorator []WriterDecorator
func (CompositeWriterDecorator) DecorateWriter ¶
func (c CompositeWriterDecorator) DecorateWriter(w io.WriteCloser) io.WriteCloser
type CompressionWriterDecorator ¶
type CompressionWriterDecorator struct{}
func (CompressionWriterDecorator) DecorateWriter ¶
func (CompressionWriterDecorator) DecorateWriter(w io.WriteCloser) io.WriteCloser
type DecompressionReaderDecorator ¶
type DecompressionReaderDecorator struct{}
func (DecompressionReaderDecorator) DecorateReader ¶
func (DecompressionReaderDecorator) DecorateReader(r io.ReadCloser) io.ReadCloser
type ReaderDecorator ¶
type ReaderDecorator interface {
DecorateReader(io.ReadCloser) io.ReadCloser
}
func NewDecryptionReaderDecorator ¶
func NewDecryptionReaderDecorator(key int64) ReaderDecorator
type WriterDecorator ¶
type WriterDecorator interface {
DecorateWriter(io.WriteCloser) io.WriteCloser
}
func NewEncryptionWriterDecorator ¶
func NewEncryptionWriterDecorator(key int64) WriterDecorator
Click to show internal directories.
Click to hide internal directories.