agent

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SEARCH_HOST               = "api.bilibili.com"
	SEARCH_CURRENT_TYPE_PATCH = "/x/web-interface/search/type"
)

Variables

View Source
var (
	ErrUnsupportedQueryType = errors.New("query type is unsupported")
	ErrUnsupportedSort      = errors.New("sort type is unsupported")
)

Functions

This section is empty.

Types

type Client

type Client struct {
	QueryType string
	KeyWord   string
	Sort      string
}

func (*Client) Query

func (c *Client) Query(alfredResult *alfred.Result)

func (*Client) SetKeyWord

func (c *Client) SetKeyWord(key string)

func (*Client) SetQuerySort

func (c *Client) SetQuerySort(querySort string) error

func (*Client) SetQueryType

func (c *Client) SetQueryType(queryType string) error

func (*Client) SetQueryWord

func (c *Client) SetQueryWord(queryWord string) error

Jump to

Keyboard shortcuts

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