Documentation
¶
Index ¶
- Constants
- Variables
- func New(name string, ctl app_control.Control) rp_writer.Writer
- func NewCascade(name string, c app_control.Control) rp_writer.Writer
- func NewCsvWriter(name string, ctl app_control.Control) rp_writer.Writer
- func NewJsonWriter(name string, ctl app_control.Control, toStdout bool) rp_writer.Writer
- func NewSmallCache(name string, writer rp_writer.Writer) rp_writer.Writer
- func NewSmallCacheWithThreshold(name string, writer rp_writer.Writer, threshold int64) rp_writer.Writer
- func NewSorted(name string, writers []rp_writer.Writer) rp_writer.Writer
- func NewXlsxWriter(name string, ctl app_control.Control) rp_writer.Writer
- type Mock
- type MockRecord
- type MsgSortedWriter
- type MsgXlsxWriter
- type Sorted
Constants ¶
View Source
const ( XlsxMaxRows = 10000 XlsxMaxMemoryTarget = 4 * 1_048_576 // 4MB )
Variables ¶
View Source
var (
ErrorMockTheWriterIsNotReady = errors.New("the writer is not ready")
)
View Source
var (
MSortedWriter = app_msg.Apply(&MsgSortedWriter{}).(*MsgSortedWriter)
)
View Source
var (
MXlsxWriter = app_msg.Apply(&MsgXlsxWriter{}).(*MsgXlsxWriter)
)
Functions ¶
func NewCascade ¶
func NewCascade(name string, c app_control.Control) rp_writer.Writer
func NewCsvWriter ¶
func NewCsvWriter(name string, ctl app_control.Control) rp_writer.Writer
func NewJsonWriter ¶
func NewXlsxWriter ¶
func NewXlsxWriter(name string, ctl app_control.Control) rp_writer.Writer
Types ¶
type MockRecord ¶
type MsgSortedWriter ¶
type MsgXlsxWriter ¶
Click to show internal directories.
Click to hide internal directories.