search

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SimulateSearch

func SimulateSearch(config *Config, keyword string) (*dto.SearchRsp, error)

SimulateSearch 模拟内联搜索请求 开发者可以使用本方法请求自己的服务器进行平台内联搜索的模拟,避免在平台上触发搜索请求。提升联调效率。

Types

type Config

type Config struct {
	AppID    string
	EndPoint string // 回调url地址
	Secret   string
}

Config 搜索请求配置

Jump to

Keyboard shortcuts

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