Documentation
¶
Overview ¶
Package user implements the functionality of User methods. Package implements getAccountInfo and toggleSsh methods. To create the appropriate methods, you need to call either CallGetAccountInfo or CallToggleSSH.
Index ¶
Constants ¶
const ( GetAccountInfoMethodName = "GetAccountInfo" GetAccountInfoPath = "user/getAccountInfo" ToggleSSHMethodName = "ToggleSsh" ToggleSSHMethodPath = "user/toggleSsh" )
Constants used to implement the getAccountInfo and toggleSsh methods.
Variables ¶
This section is empty.
Functions ¶
func CallGetAccountInfo ¶
CallGetAccountInfo is a creation function that returns a core.APIMethod corresponding to the method getAccountInfo.
func CallToggleSSH ¶
CallToggleSSH is a creation function that returns a core.APIMethod corresponding to the method toggleSsh. The function is waiting for SSH status to be received for the main Beget account.
func CallToggleSSHFTP ¶
CallToggleSSHFTP is a creation function that returns a core.APIMethod corresponding to the method toggleSsh. The function waits for the FTP account login and SSH status for this account.