Documentation ¶
Index ¶
- type Client
- func (t *Client) DetectType(body io.Reader, filename string) (contentType string, err error)
- func (t *Client) GetMetadata(body io.Reader, filename string) (result map[string]string, err error)
- func (t *Client) Parse(body io.Reader, contentType string) (out []byte, err error)
- func (t *Client) PlainText(body io.Reader, contentType string) (out []byte, err error)
- func (t *Client) RecursiveParse(body io.Reader, contentType string) (out []byte, err error)
- type FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewTikaFromDockerEnv ¶
func (*Client) DetectType ¶
DetectType requests the mime type of a file from an Apache Tika server
func (*Client) GetMetadata ¶
GetMetadata requests metadata about a file from an Apache Tika server
Click to show internal directories.
Click to hide internal directories.