Documentation ¶
Index ¶
- type Application
- func (app *Application) CreateFile(_ context.Context, file *reporterpb.ReportFile, ...) error
- func (app *Application) ExecutePostProcess(payload *reporterpb.PostProcessRequest, d amqp.Delivery) error
- func (app *Application) ExecuteProcess(payload *reporterpb.ReportFile, d amqp.Delivery) error
- func (app *Application) Run()
- func (app *Application) Stop()
- type Centrifugo
- type CentrifugoInterface
- type DocumentGenerator
- type DocumentGeneratorInterface
- type DocumentGeneratorRenderRequest
- type ReportFileTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶
func NewApplication() *Application
func (*Application) CreateFile ¶
func (app *Application) CreateFile(_ context.Context, file *reporterpb.ReportFile, res *reporterpb.CreateFileResponse) error
func (*Application) ExecutePostProcess ¶
func (app *Application) ExecutePostProcess(payload *reporterpb.PostProcessRequest, d amqp.Delivery) error
func (*Application) ExecuteProcess ¶
func (app *Application) ExecuteProcess(payload *reporterpb.ReportFile, d amqp.Delivery) error
func (*Application) Run ¶
func (app *Application) Run()
func (*Application) Stop ¶
func (app *Application) Stop()
type Centrifugo ¶
type Centrifugo struct {
// contains filtered or unexported fields
}
func (*Centrifugo) Info ¶
func (c *Centrifugo) Info(ctx context.Context) (gocent.InfoResult, error)
func (Centrifugo) Publish ¶
func (c Centrifugo) Publish(channel string, msg interface{}) error
type CentrifugoInterface ¶
type DocumentGenerator ¶
type DocumentGenerator struct {
// contains filtered or unexported fields
}
func (DocumentGenerator) Render ¶
func (dg DocumentGenerator) Render(payload *proto.GeneratorPayload) ([]byte, error)
type DocumentGeneratorInterface ¶
type DocumentGeneratorInterface interface {
Render(payload *proto.GeneratorPayload) ([]byte, error)
}
type DocumentGeneratorRenderRequest ¶
type DocumentGeneratorRenderRequest struct { TemplateId string Data interface{} Options interface{} }
Click to show internal directories.
Click to hide internal directories.