Documentation
¶
Index ¶
- func Dial(rawURL string) (core.Producer, error)
- func TimeToRTP(timeMS, clockRate uint64) uint32
- type Cloud
- func (c *Cloud) Login(username, password string) error
- func (c *Cloud) LoginWithCaptcha(captcha string) error
- func (c *Cloud) LoginWithToken(userID, passToken string) error
- func (c *Cloud) LoginWithVerify(ticket string) error
- func (c *Cloud) Request(baseURL, apiURL, params string, headers map[string]string) ([]byte, error)
- func (c *Cloud) UserToken() (string, string)
- type LoginError
- type Producer
- type Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cloud ¶
type Cloud struct {
// contains filtered or unexported fields
}
func (*Cloud) LoginWithCaptcha ¶
func (*Cloud) LoginWithToken ¶
func (*Cloud) LoginWithVerify ¶
type LoginError ¶
type LoginError struct {
Captcha []byte `json:"captcha,omitempty"`
VerifyPhone string `json:"verify_phone,omitempty"`
VerifyEmail string `json:"verify_email,omitempty"`
}
func (*LoginError) Error ¶
func (l *LoginError) Error() string
Click to show internal directories.
Click to hide internal directories.