Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnyType ¶
type AnyType struct { //ProcessGroup Type string `xml:"type,attr"` ID int `xml:"ID"` ExName string `xml:"ExName"` TargetFormat string `xml:"TargetFormat"` TargetQuality string `xml:"TargetQuality"` IsSharpen bool `xml:"IsSharpen"` Radius int `xml:"Radius"` Sigma int `xml:"Sigma"` Channels string `xml:"Channels"` List ProcessList `xml:"List"` //Cropping Proportion float64 `xml:"Proportion"` //Watermark Transparency float64 `xml:"Transparency"` Position string `xml:"Position"` X int `xml:"X"` Y int `xml:"Y"` MinWidth int `xml:"MinWith"` //As it's wrong in C#, we have to be wrong MinHeight int `xml:"MinHeight"` FileBytes []byte `xml:"FileBytes"` //Compression Width int `xml:"Width"` Height int `xml:"Height"` //Conver //ProportionCompression //CustomCropping //SpecialGroup Taipe int `xml:"Type"` }
func (*AnyType) MarshalJSON ¶
func (*AnyType) MarshalJSONBuf ¶
func (mj *AnyType) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*AnyType) UnmarshalJSON ¶
func (*AnyType) UnmarshalJSONFFLexer ¶
type DeleteRequest ¶
type FormatList ¶
type FormatList struct {
ImgFormats []string `xml:"ImgFormat"`
}
type Header ¶
type Header struct { UserID string `xml:"UserID,attr"` RequestID string `xml:"RequestID,attr"` RequestType string `xml:"RequestType,attr"` ClientIP string `xml:"ClientIP,attr"` AsyncRequest bool `xml:"AsyncRequest,attr"` Timeout int `xml:"Timeout,attr"` MessagePriority int `xml:"MessagePriority,attr"` AssemblyVersion string `xml:"AssemblyVersion,attr"` RequestBodySize int `xml:"RequestBodySize,attr"` SerializeMode string `xml:"SerializeMode,attr"` RouteStep int `xml:"RouteStep,attr"` Culture string `xml:"Culture,attr"` Environment string `xml:"Environment,attr"` ReCallType string `xml:"ReCallType,attr"` ReferenceID string `xml:"ReferenceID,attr"` SessionID string `xml:"SessionID,attr"` SrcAppID string `xml:"SrcAppID,attr"` TransNo string `xml:"TransNo,attr"` UseMemoryQ bool `xml:"UseMemoryQ,attr"` Version string `xml:"Version,attr"` Via string `xml:"Via,attr"` }
type LoadFileList ¶
type LoadFileList struct {
LoadFiles []LoadFile `xml:"LoadFile"`
}
type LoadImgRequest ¶
type LoadZipRequest ¶
type LoadZipRequest struct {
Files LoadFileList `xml:"Files"`
}
type ProcessList ¶
type ProcessList struct {
AnyTypes []AnyType `xml:"anyType"`
}
func (*ProcessList) MarshalJSON ¶
func (mj *ProcessList) MarshalJSON() ([]byte, error)
func (*ProcessList) MarshalJSONBuf ¶
func (mj *ProcessList) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*ProcessList) UnmarshalJSON ¶
func (uj *ProcessList) UnmarshalJSON(input []byte) error
func (*ProcessList) UnmarshalJSONFFLexer ¶
func (uj *ProcessList) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
type Request ¶
type Request struct { Header Header `xml:"Header"` SaveRequest SaveRequest `xml:"SaveRequest"` DeleteRequest DeleteRequest `xml:"DeleteRequest"` LoadZipRequest LoadZipRequest `xml:"LoadZipRequest"` LoadImgRequest LoadImgRequest `xml:"LoadImgRequest"` }
type SaveRequest ¶
type SaveRequest struct { FileBytes []byte `xml:"FileBytes"` FilePath string `xml:"FilePath"` CheckItem CheckItem `xml:"CheckItem"` OriginalFormat string `xml:"OriginalFormat"` SaveType string `xml:"SaveType"` TargetFormat string `xml:"TargetFormat"` SourceSaveMode string `xml:"SourceSaveMode"` TargetQuality int `xml:"TargetQuality"` ObjectID string `xml:"ObjectID"` Channel string `xml:"Channel"` StorageType string `xml:"StorageType"` Process ProcessList `xml:"Process"` SourcePath string `xml:"SourcePath"` PlanID string `xml:"PlanID"` StartDateTime string `xml:"StartDateTime"` PathType int `xml:"PathType"` }
Click to show internal directories.
Click to hide internal directories.