Documentation ¶ Index ¶ type ArXiv func New(cfg Config) (*ArXiv, error) func (api *ArXiv) Extracts(ctx context.Context, req Extracts) (string, error) func (api *ArXiv) Search(ctx context.Context, req Search) ([]websearch.Fact, error) type Config type Extracts type Search Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ArXiv ¶ type ArXiv struct { http.Stack // contains filtered or unexported fields } func New ¶ func New(cfg Config) (*ArXiv, error) Creates new instance of HTTP client func (*ArXiv) Extracts ¶ func (api *ArXiv) Extracts(ctx context.Context, req Extracts) (string, error) func (*ArXiv) Search ¶ func (api *ArXiv) Search(ctx context.Context, req Search) ([]websearch.Fact, error) type Config ¶ type Config struct { http.Stack } type Extracts ¶ type Extracts struct { ID string } type Search ¶ type Search struct { Query string // The search query string. Size int SortBy string OrderBy string } Source Files ¶ View all Source files client.goextract.gosearch.go Directories ¶ Show internal Expand all Path Synopsis adapter Click to show internal directories. Click to hide internal directories.