Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SteamSDK ¶
type SteamSDK struct {
Develop *dev.DevService // 玩家模块 | Develop module API from api.steampowered.com
Store *store.StoreService // 商店模块 | Store module (接口数据来自商店界面) API from store.steampowered.com
Crawler *crawler.CrawlerService // 爬虫模块 | Crawler module (网页爬取/反爬策略)
Server *server.ServerService // 服务器模块 | Server module (集成官方指定A2S库)
Util *util.UtilService // 工具模块 | Util module (一些可能会用到的工具函数)
}
SteamSDK is the global entry structure of Steam SDK 全局 Steam SDK 入口结构体 Aggregates all core business modules, provides a unified SDK call entry, supports chain configuration extension 聚合所有核心业务模块, 提供统一的 SDK 调用入口, 支持链式配置扩展
func NewSteamSDK ¶
func NewSteamSDK(cfg *config.SteamConfig) (*SteamSDK, error)
NewSteamSDK creates SDK instance 创建全局 Steam SDK 实例 初始化内部 Client 并完成所有业务模块的实例化, 支持配置校验和错误兜底
- cfg: Global config (supports chain config for proxy/rate limit/timeout)
Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
Package util 提供 Steam 开发工具类服务 包含各类开发者常用的工具方法, 如 Steam 令牌/API Key 获取等 辅助开发者快速获取 Steam 接口调用所需的认证信息 Package util provides Steam development tooling services Includes various commonly used utility methods for developers, such as Steam token/API Key acquisition, etc., helping developers quickly obtain authentication information required for Steam interface calls
|
Package util 提供 Steam 开发工具类服务 包含各类开发者常用的工具方法, 如 Steam 令牌/API Key 获取等 辅助开发者快速获取 Steam 接口调用所需的认证信息 Package util provides Steam development tooling services Includes various commonly used utility methods for developers, such as Steam token/API Key acquisition, etc., helping developers quickly obtain authentication information required for Steam interface calls |
Click to show internal directories.
Click to hide internal directories.