Versions in this module Expand all Collapse all v0 v0.2.21 Oct 23, 2023 v0.2.20 Oct 23, 2023 Changes in this version + type MockDecryptor struct + func (d *MockDecryptor) Decrypt(ctx context.Context, ciphertext string) (plaintext string, err error) + type WechatPayDecryptor struct + func NewWechatPayDecryptor(privateKey *rsa.PrivateKey) *WechatPayDecryptor + func (d *WechatPayDecryptor) Decrypt(_ context.Context, ciphertext string) (plaintext string, err error)