Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { *clientutil.BaseClient // contains filtered or unexported fields }
func (*Client) PostMsg ¶
func (c *Client) PostMsg(msg *aranyagopb.Msg) error
type Config ¶
type Config struct { clientutil.CommonConfig `json:",inline" yaml:",inline"` Version string `json:"version" yaml:"version"` Variant string `json:"variant" yaml:"variant"` Transport string `json:"transport" yaml:"transport"` TopicNamespaceFrom conf.ValueFromSpec `json:"topicNamespaceFrom" yaml:"topicNamespaceFrom"` ClientID string `json:"clientID" yaml:"clientID"` Username string `json:"username" yaml:"username"` Password string `json:"password" yaml:"password"` KeepaliveInterval time.Duration `json:"keepaliveInterval" yaml:"keepaliveInterval"` }
func (*Config) GetConnectInfo ¶
func (c *Config) GetConnectInfo() (*ConfigConnectInfo, error)
Click to show internal directories.
Click to hide internal directories.