Documentation ¶
Index ¶
Constants ¶
View Source
const (
RULE_ROBOT_TULING = "tuling"
)
Variables ¶
View Source
var ( DefaultTransportInsecureSkipVerify bool = true DefaultTransportDisableCompression bool = true )
Functions ¶
This section is empty.
Types ¶
type ApplyRuleResult ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(config *ClientConfig) *Client
func (*Client) ApplyRule ¶
func (c *Client) ApplyRule(ruleId, ruleType string) (rst *ApplyRuleResult, err error)
func (*Client) SendMessage ¶
func (c *Client) SendMessage(ruleId, ruleType, msg, userId string) (rst *SendMessageResult, err error)
type ClientConfig ¶
Click to show internal directories.
Click to hide internal directories.