native

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const MaxReportExportBytes = 128 << 20

Variables

This section is empty.

Functions

func HasPNGSignature

func HasPNGSignature(data []byte) bool

func OpenDirectory

func OpenDirectory(path string) error

func SaveReportExport

func SaveReportExport(ctx context.Context, exported ExportFile) (bool, error)

func StoragePaths

func StoragePaths(configurationRoot string) (directory string, database string, err error)

Types

type ExportFile

type ExportFile struct {
	Filename  string
	MediaType string
	Data      []byte
	Locale    string
	// contains filtered or unexported fields
}

func ParseReportExport

func ParseReportExport(filename, mediaType, dataBase64, locale string) (ExportFile, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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