Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidArgument = errors.New("invalid argument") ErrCreateQr = errors.New("微信生成二维码失败") )
Functions ¶
func ResponseWechatByKey ¶
Types ¶
type Service ¶
type Service interface { Receive(ctx context.Context) (str, contentType string, err error) GetQr(ctx context.Context, req qrRequest) (interface{}, error) TestSend(ctx context.Context) (interface{}, error) Menu(ctx context.Context) (interface{}, error) }
func NewService ¶
func NewService(logger log.Logger, cf *config.Config, wx *wechat.Wechat, store repository.Repository) Service
Click to show internal directories.
Click to hide internal directories.