core

package
v0.0.0-...-ed8de99 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ACCOUNT = iota
	MINIPROGRAM
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	AccountObj     map[string]*Account.WxAccount
	MiniProgramObj map[string]*MiniProgram.WxMiniProgram
}

func (*Container) CreateWxEntity

func (c *Container) CreateWxEntity(entityType int, appId, appSecret string, alias string, options ...map[string]string) (WxEntityInterface, error)

生成微信实体

func (*Container) GetAccount

func (c *Container) GetAccount(name string) *Account.WxAccount

func (*Container) GetMiniProgram

func (c *Container) GetMiniProgram(name string) *MiniProgram.WxMiniProgram

func (*Container) SetAccount

func (c *Container) SetAccount(name string, obj *Account.WxAccount)

func (*Container) SetMiniProgram

func (c *Container) SetMiniProgram(name string, obj *MiniProgram.WxMiniProgram)

type WxEntityInterface

type WxEntityInterface interface {
}

Jump to

Keyboard shortcuts

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