Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConvertArgs ¶
type ConvertArgs struct { To string `json:"to"` Fetcher wkhtmltox.FetcherOptions `json:"fetcher"` Converter json.RawMessage `json:"converter"` Template string `json:"template"` }
type ConvertData ¶
type ConvertData struct {
Data []byte `json:"data"`
}
type ConvertResponse ¶
type RespHelper ¶
type RespHelper struct {
// contains filtered or unexported fields
}
func (*RespHelper) Hold ¶
func (p *RespHelper) Hold(v interface{}) error
func (*RespHelper) Holding ¶
func (p *RespHelper) Holding() bool
func (*RespHelper) SetHeader ¶
func (p *RespHelper) SetHeader(key, value interface{}) error
func (*RespHelper) Write ¶
func (p *RespHelper) Write(data []byte) error
func (*RespHelper) WriteHeader ¶
func (p *RespHelper) WriteHeader(code interface{}) error
type TemplateArgs ¶
type TemplateArgs struct { To string ConvertResponse Response *RespHelper }
type WKHtmlToXServer ¶
type WKHtmlToXServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(conf config.Configuration) (srv *WKHtmlToXServer, err error)
func (*WKHtmlToXServer) Run ¶
func (p *WKHtmlToXServer) Run() (err error)
Click to show internal directories.
Click to hide internal directories.