mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-19 08:37:28 +08:00
feat: add multi-account weixin channel
This commit is contained in:
16
pkg/channels/weixin_stub.go
Normal file
16
pkg/channels/weixin_stub.go
Normal file
@@ -0,0 +1,16 @@
|
||||
//go:build omit_weixin
|
||||
|
||||
package channels
|
||||
|
||||
import (
|
||||
"github.com/YspCoder/clawgo/pkg/bus"
|
||||
"github.com/YspCoder/clawgo/pkg/config"
|
||||
)
|
||||
|
||||
type WeixinChannel struct{ disabledChannel }
|
||||
|
||||
const weixinCompiled = false
|
||||
|
||||
func NewWeixinChannel(cfg config.WeixinConfig, bus *bus.MessageBus) (*WeixinChannel, error) {
|
||||
return nil, errChannelDisabled("weixin")
|
||||
}
|
||||
Reference in New Issue
Block a user