wechat

package
v1.4.34 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type MiniProgramMap

type MiniProgramMap map[string]*MiniProgramSDK

func NewWechatApplicationMap

func NewWechatApplicationMap(config *config.Config) MiniProgramMap

type MiniProgramSDK added in v1.4.27

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

func (*MiniProgramSDK) Code2Session added in v1.4.27

func (s *MiniProgramSDK) Code2Session(ctx context.Context, jsCode string) (result auth.ResCode2Session, err error)

func (*MiniProgramSDK) MsgCheck added in v1.4.27

func (*MiniProgramSDK) Send added in v1.4.34

func (s *MiniProgramSDK) Send(ctx context.Context, in *subscribe.Message) (err error)

type RedisPlus added in v1.4.5

type RedisPlus struct {
	*redis.Redis
}

func NewRedisPlus added in v1.4.5

func NewRedisPlus(conf redis.RedisConf) *RedisPlus

func (*RedisPlus) Delete added in v1.4.5

func (r *RedisPlus) Delete(key string) error

func (*RedisPlus) DeleteContext added in v1.4.29

func (r *RedisPlus) DeleteContext(ctx context.Context, key string) error

func (*RedisPlus) Get added in v1.4.5

func (r *RedisPlus) Get(key string) interface{}

func (*RedisPlus) GetContext added in v1.4.29

func (r *RedisPlus) GetContext(ctx context.Context, key string) interface{}

func (*RedisPlus) IsExist added in v1.4.5

func (r *RedisPlus) IsExist(key string) bool

func (*RedisPlus) IsExistContext added in v1.4.29

func (r *RedisPlus) IsExistContext(ctx context.Context, key string) bool

func (*RedisPlus) Set added in v1.4.5

func (r *RedisPlus) Set(key string, val interface{}, timeout time.Duration) error

func (*RedisPlus) SetContext added in v1.4.29

func (r *RedisPlus) SetContext(ctx context.Context, key string, val interface{}, timeout time.Duration) error

Jump to

Keyboard shortcuts

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