Documentation ¶
Index ¶
- type OpenPlatform
- func (openPlatform *OpenPlatform) GetAccountManager() *account.Account
- func (openPlatform *OpenPlatform) GetMiniProgram(appID string) *miniprogram.MiniProgram
- func (openPlatform *OpenPlatform) GetOfficialAccount(appID string) *officialaccount.OfficialAccount
- func (openPlatform *OpenPlatform) GetServer(req *http.Request, writer http.ResponseWriter) *server.Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenPlatform ¶
OpenPlatform 微信开放平台相关api
func NewOpenPlatform ¶
func NewOpenPlatform(cfg *config.Config) *OpenPlatform
NewOpenPlatform new openplatform
func (*OpenPlatform) GetAccountManager ¶
func (openPlatform *OpenPlatform) GetAccountManager() *account.Account
GetAccountManager 账号管理 TODO
func (*OpenPlatform) GetMiniProgram ¶
func (openPlatform *OpenPlatform) GetMiniProgram(appID string) *miniprogram.MiniProgram
GetMiniProgram 小程序代理
func (*OpenPlatform) GetOfficialAccount ¶
func (openPlatform *OpenPlatform) GetOfficialAccount(appID string) *officialaccount.OfficialAccount
GetOfficialAccount 公众号代处理
func (*OpenPlatform) GetServer ¶ added in v2.0.1
func (openPlatform *OpenPlatform) GetServer(req *http.Request, writer http.ResponseWriter) *server.Server
GetServer get server
Click to show internal directories.
Click to hide internal directories.