converter

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertConfig

type ConvertConfig struct {
	//the source document's url to be converted.
	Url       string `validate:"required,url"`
	UploadKey string `validate:"omitempty"`
	Params    Params
}

type Converter

type Converter interface {
	Convert() ([]byte, error)
	GetConvertElapsed() time.Duration
}

type DoctronConfig

type DoctronConfig struct {
	TraceId     uuid.UUID
	IrisCtx     irisContext.Context
	Ctx         context.Context
	DoctronType int
	ConvertConfig
}

type Params

type Params interface {
}

convert params

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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