Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { CorpID string CorpSecret string AgentID string Token string RasPrivateKey string EncodingAESKey string Cache cache.Cache }
Config is the Service configuration.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service encapsulates the WeCom client along with internal state for storing users.
func (*Service) AddPartyReceivers ¶
func (*Service) AddReceivers ¶
AddReceivers takes user ids and adds them to the internal users list. The Send method will send a given message to all those users.
func (*Service) AddTagReceivers ¶
Click to show internal directories.
Click to hide internal directories.