Documentation ¶
Index ¶
- Variables
- type Map
- type Options
- type User
- type VRCGO
- func (v *VRCGO) AuthToken() (token string, err error)
- func (v *VRCGO) CallEvent(name string, param interface{})
- func (v *VRCGO) Cookies() ([]*http.Cookie, error)
- func (v *VRCGO) Health() (bool, error)
- func (v *VRCGO) Login(username, password string) (user objects.CurrentUser, err error)
- func (v *VRCGO) LoginWithSteam(steamTicket string) (user objects.CurrentUser, err error)
- func (v *VRCGO) Logout() error
- func (v *VRCGO) RegisterEvent(name string, callback func(interface{}))
- func (v *VRCGO) RemoteConfig() (config objects.RemoteConfig, err error)
- func (v *VRCGO) SystemTime() (t time.Time, err error)
- func (v *VRCGO) VerifyAuthToken() (token string, err error)
- func (v *VRCGO) VerifyOTP(code string) error
- func (v *VRCGO) VerifyTOTP(code string) error
- func (v *VRCGO) Visits() (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Err2FAFailed = errors.New("2FA verification failed") ErrAuthTokenNotFound = errors.New("AuthToken not found") )
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) CurrentUser ¶
func (v *User) CurrentUser() (user objects.CurrentUser, err error)
func (*User) FriendStatus ¶
type VRCGO ¶
type VRCGO struct { sync.Mutex User User Pipeline *websocket.Pipeline // contains filtered or unexported fields }
func NewClientWithOptions ¶
func (*VRCGO) Login ¶
func (v *VRCGO) Login(username, password string) (user objects.CurrentUser, err error)
func (*VRCGO) LoginWithSteam ¶
func (v *VRCGO) LoginWithSteam(steamTicket string) (user objects.CurrentUser, err error)
func (*VRCGO) RegisterEvent ¶
func (*VRCGO) RemoteConfig ¶
func (v *VRCGO) RemoteConfig() (config objects.RemoteConfig, err error)
func (*VRCGO) VerifyAuthToken ¶
func (*VRCGO) VerifyTOTP ¶
Click to show internal directories.
Click to hide internal directories.