ewechat

package module
v0.0.0-...-5247eb1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ModName = "contrib.wechat"

ModName ..

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig() *config

DefaultConfig ...

Types

type Component

type Component struct {
	// contains filtered or unexported fields
}

func (*Component) GetMiniProgram

func (c *Component) GetMiniProgram() *miniprogram.MiniProgram

GetMiniProgram 获取小程序的实例

type Container

type Container struct {
	// contains filtered or unexported fields
}

func DefaultContainer

func DefaultContainer() *Container

func Load

func Load(key string) *Container

Invoker ...

func (*Container) Build

func (con *Container) Build(options ...Option) *Component

Build

type Option

type Option func(c *Container)

func WithRedis

func WithRedis(client *eredis.Component) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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