Documentation ¶
Index ¶
- Variables
- type MiniProgramMap
- type MiniProgramSDK
- type RedisPlus
- func (r *RedisPlus) Delete(key string) error
- func (r *RedisPlus) DeleteContext(ctx context.Context, key string) error
- func (r *RedisPlus) Get(key string) interface{}
- func (r *RedisPlus) GetContext(ctx context.Context, key string) interface{}
- func (r *RedisPlus) IsExist(key string) bool
- func (r *RedisPlus) IsExistContext(ctx context.Context, key string) bool
- func (r *RedisPlus) Set(key string, val interface{}, timeout time.Duration) error
- func (r *RedisPlus) SetContext(ctx context.Context, key string, val interface{}, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
View Source
var WechatSet = wire.NewSet( NewWechatApplicationMap, )
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 (s *MiniProgramSDK) MsgCheck(ctx context.Context, in *security.MsgCheckRequest) (res security.MsgCheckResponse, err error)
type RedisPlus ¶ added in v1.4.5
func NewRedisPlus ¶ added in v1.4.5
func (*RedisPlus) DeleteContext ¶ added in v1.4.29
func (*RedisPlus) GetContext ¶ added in v1.4.29
func (*RedisPlus) IsExistContext ¶ added in v1.4.29
Click to show internal directories.
Click to hide internal directories.