Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_BUFFER_SIZE int = 188 * 1000 READ_BYTES = 188 )
View Source
const (
CUSTOM_EOF_TIMEOUT int = 100 // 100ms
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileReaderType ¶ added in v0.0.3
type FileReaderType struct {
// contains filtered or unexported fields
}
func FileReader ¶ added in v0.0.3
func FileReader(filename string) *FileReaderType
func (*FileReaderType) Close ¶ added in v0.0.3
func (w *FileReaderType) Close()
func (*FileReaderType) Open ¶ added in v0.0.3
func (w *FileReaderType) Open() error
func (*FileReaderType) Read ¶ added in v0.0.3
func (w *FileReaderType) Read() ([]byte, bool)
type FileWriterType ¶ added in v0.0.2
type FileWriterType struct {
// contains filtered or unexported fields
}
func FileWriter ¶ added in v0.0.2
func FileWriter(filename string) *FileWriterType
func (*FileWriterType) Close ¶ added in v0.0.2
func (w *FileWriterType) Close()
func (*FileWriterType) Open ¶ added in v0.0.2
func (w *FileWriterType) Open() error
func (*FileWriterType) Write ¶ added in v0.0.2
func (w *FileWriterType) Write(data []byte)
type IOInterface ¶
type IOReaderInterface ¶
type IOWriterInterface ¶
type UdpReaderType ¶
type UdpReaderType struct {
// contains filtered or unexported fields
}
func (*UdpReaderType) Close ¶
func (udpReader *UdpReaderType) Close()
func (*UdpReaderType) Open ¶
func (udpReader *UdpReaderType) Open() error
func (*UdpReaderType) Read ¶
func (udpReader *UdpReaderType) Read() ([]byte, bool)
func (*UdpReaderType) Write ¶
func (udpReader *UdpReaderType) Write([]byte)
Click to show internal directories.
Click to hide internal directories.