Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPlatform ¶
func NewPlatform(cfg config.WeixinConfig, mc config.MediaConfig, mediaSvc *media.Service) platform.Platform
Types ¶
type WeixinPlatform ¶
type WeixinPlatform struct {
// contains filtered or unexported fields
}
func (*WeixinPlatform) ID ¶
func (p *WeixinPlatform) ID() string
func (*WeixinPlatform) Receiver ¶
func (p *WeixinPlatform) Receiver() platform.PlatformReceiverAdapter
func (*WeixinPlatform) Sender ¶
func (p *WeixinPlatform) Sender() platform.PlatformSenderAdapter
type WeixinReceiver ¶
type WeixinReceiver struct {
// contains filtered or unexported fields
}
func (*WeixinReceiver) Start ¶
func (r *WeixinReceiver) Start(ctx context.Context, dispatch func(platform.InboundMessage)) error
type WeixinSender ¶
type WeixinSender struct {
// contains filtered or unexported fields
}
func (*WeixinSender) Send ¶
func (s *WeixinSender) Send(ctx context.Context, msg platform.OutboundMessage) error
Click to show internal directories.
Click to hide internal directories.