Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Enable bool `yaml:"enable"` Name string `yaml:"name"` URL string `yaml:"url"` Method string `yaml:"method"` Headers []KV `yaml:"headers"` Body string `yaml:"body"` Answer string `yaml:"answer"` }
API 自定义的一些API
func (API) SearchAnswer ¶
func (in API) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer -
type AidianClient ¶
AidianClient 爱点题库
func (*AidianClient) SearchAnswer ¶
func (in *AidianClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 搜索答案
type BuguakeClient ¶
type BuguakeClient struct {
Enable bool
}
BuguakeClient 不挂科网页版题库
func (*BuguakeClient) SearchAnswer ¶
func (in *BuguakeClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 搜索答案
type ChatGptClient ¶
ChatGptClient chatgpt搜题客户
func (*ChatGptClient) SearchAnswer ¶
func (in *ChatGptClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 暂时未实现
type EnncyClient ¶
EnncyClient enncy题库
func (*EnncyClient) SearchAnswer ¶
func (in *EnncyClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 搜索答案
type IcodefClient ¶
IcodefClient icodef题库
func (*IcodefClient) SearchAnswer ¶
func (in *IcodefClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 搜索答案
type LemonClient ¶
LemonClient 柠檬题库
func (*LemonClient) SearchAnswer ¶
func (in *LemonClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 搜索答案
type Search ¶
type Search interface { SearchAnswer(req model.SearchRequest) (answer [][]string, err error) // contains filtered or unexported methods }
Search 搜题接口
type WannengClient ¶
WannengClient icodef题库
func (*WannengClient) SearchAnswer ¶
func (in *WannengClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 搜索答案
Click to show internal directories.
Click to hide internal directories.