rp_model_impl

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MColumnSpec = app_msg.Apply(&MsgColumnSpec{}).(*MsgColumnSpec)
)
View Source
var (
	MTransactionReport = app_msg.Apply(&MsgTransactionReport{}).(*MsgTransactionReport)
)

Functions

This section is empty.

Types

type ColumnSpec

type ColumnSpec struct {
	// contains filtered or unexported fields
}

func (*ColumnSpec) ColumnDesc

func (z *ColumnSpec) ColumnDesc(col string) app_msg.Message

func (*ColumnSpec) Columns

func (z *ColumnSpec) Columns() []string

func (*ColumnSpec) Desc

func (z *ColumnSpec) Desc() app_msg.Message

func (*ColumnSpec) Doc

func (z *ColumnSpec) Doc(ui app_ui.UI) *dc_recipe.Report

func (*ColumnSpec) Model

func (z *ColumnSpec) Model() interface{}

func (*ColumnSpec) Name

func (z *ColumnSpec) Name() string

func (*ColumnSpec) Options

func (z *ColumnSpec) Options() []rp_model.ReportOpt

type MsgColumnSpec

type MsgColumnSpec struct {
	TransactionRowStatus app_msg.Message
	TransactionRowReason app_msg.Message
}

type MsgTransactionReport

type MsgTransactionReport struct {
	Success      app_msg.Message
	Failure      app_msg.Message
	Skip         app_msg.Message
	ErrorGeneral app_msg.Message
}

type RowReport

type RowReport struct {
	// contains filtered or unexported fields
}

func NewRowReport

func NewRowReport(name string) *RowReport

func (*RowReport) Close

func (z *RowReport) Close()

func (*RowReport) Fork

func (*RowReport) Open

func (z *RowReport) Open(opts ...rp_model.ReportOpt) error

func (*RowReport) OpenNew

func (z *RowReport) OpenNew(opts ...rp_model.ReportOpt) (r rp_model.RowReport, err error)

func (*RowReport) Row

func (z *RowReport) Row(row interface{})

func (*RowReport) Rows

func (z *RowReport) Rows() int64

func (*RowReport) SetCtl

func (z *RowReport) SetCtl(ctl app_control.Control)

func (*RowReport) SetModel

func (z *RowReport) SetModel(row interface{}, opts ...rp_model.ReportOpt)

func (*RowReport) Spec

func (z *RowReport) Spec() rp_model.Spec

type TransactionReport

type TransactionReport struct {
	// contains filtered or unexported fields
}

func NewTransactionReport

func NewTransactionReport(name string) *TransactionReport

func (*TransactionReport) Close

func (z *TransactionReport) Close()

func (*TransactionReport) Failure

func (z *TransactionReport) Failure(err error, input interface{})

func (*TransactionReport) Fork

func (*TransactionReport) Open

func (z *TransactionReport) Open(opts ...rp_model.ReportOpt) error

func (*TransactionReport) OpenNew

func (z *TransactionReport) OpenNew(opts ...rp_model.ReportOpt) (r rp_model.TransactionReport, err error)

func (*TransactionReport) Rows

func (z *TransactionReport) Rows() int64

func (*TransactionReport) SetCtl

func (z *TransactionReport) SetCtl(ctl app_control.Control)

func (*TransactionReport) SetModel

func (z *TransactionReport) SetModel(input interface{}, result interface{}, opts ...rp_model.ReportOpt)

func (*TransactionReport) Skip

func (z *TransactionReport) Skip(reason app_msg.Message, input interface{})

func (*TransactionReport) Spec

func (z *TransactionReport) Spec() rp_model.Spec

func (*TransactionReport) Success

func (z *TransactionReport) Success(input interface{}, result interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL