config.go 351 B

1234567891011121314
  1. // Package config 企业微信config配置
  2. package config
  3. import (
  4. "github.com/silenceper/wechat/v2/cache"
  5. )
  6. // Config config for 企业微信
  7. type Config struct {
  8. CorpID string `json:"corp_id"` // corp_id
  9. CorpSecret string `json:"corp_secret"` // corp_secret
  10. AgentID string `json:"agent_id"` // agent_id
  11. Cache cache.Cache
  12. }