export

package
v0.0.0-...-33f46c2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCsvService

func GetCsvService() (svc interfaces.ExportService)

func GetJsonService

func GetJsonService() (svc interfaces.ExportService)

func NewCsvService

func NewCsvService() (svc2 interfaces.ExportService)

func NewJsonService

func NewJsonService() (svc2 interfaces.ExportService)

Types

type CsvService

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

func (*CsvService) Export

func (svc *CsvService) Export(exportType, target string, filter interfaces.Filter) (exportId string, err error)

func (*CsvService) GenerateId

func (svc *CsvService) GenerateId() (exportId string, err error)

func (*CsvService) GetExport

func (svc *CsvService) GetExport(exportId string) (export interfaces.Export, err error)

type JsonService

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

func (*JsonService) Export

func (svc *JsonService) Export(exportType, target string, filter interfaces.Filter) (exportId string, err error)

func (*JsonService) GenerateId

func (svc *JsonService) GenerateId() (exportId string, err error)

func (*JsonService) GetExport

func (svc *JsonService) GetExport(exportId string) (export interfaces.Export, err error)

Jump to

Keyboard shortcuts

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