Documentation ¶
Index ¶
- type Activate
- type ChangeEmail
- type ConfirmChangeEmail
- type Delete
- type Get
- type GetAvatar
- type GetJin
- type GetMe
- type Login
- type LoginLinkLogin
- type Logout
- type Me
- type Register
- type RegisterForFCM
- type ResendActivateLink
- type ResendChangeEmailLink
- type ResetPwd
- type SendLoginLinkEmail
- type SetAlias
- type SetAvatar
- type SetFCMEnabled
- type SetHandle
- type SetJin
- type SetPwd
- type UnregisterFromFCM
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeEmail ¶
type ChangeEmail struct {
NewEmail string `json:"newEmail"`
}
func (*ChangeEmail) MustDo ¶
func (a *ChangeEmail) MustDo(c *app.Client)
func (*ChangeEmail) Path ¶
func (_ *ChangeEmail) Path() string
type ConfirmChangeEmail ¶
type ConfirmChangeEmail struct { Me ID `json:"me"` Code string `json:"code"` }
func (*ConfirmChangeEmail) MustDo ¶
func (a *ConfirmChangeEmail) MustDo(c *app.Client)
func (*ConfirmChangeEmail) Path ¶
func (_ *ConfirmChangeEmail) Path() string
type LoginLinkLogin ¶
type LoginLinkLogin struct { Me ID `json:"me"` Code string `json:"code"` }
func (*LoginLinkLogin) Path ¶
func (_ *LoginLinkLogin) Path() string
type Register ¶
type RegisterForFCM ¶
type RegisterForFCM struct { Topic IDs `json:"topic"` Client *ID `json:"client"` Token string `json:"token"` }
func (*RegisterForFCM) MustDo ¶
func (a *RegisterForFCM) MustDo(c *app.Client) *ID
func (*RegisterForFCM) Path ¶
func (_ *RegisterForFCM) Path() string
type ResendActivateLink ¶
type ResendActivateLink struct {
Email string `json:"email"`
}
func (*ResendActivateLink) MustDo ¶
func (a *ResendActivateLink) MustDo(c *app.Client)
func (*ResendActivateLink) Path ¶
func (_ *ResendActivateLink) Path() string
type ResendChangeEmailLink ¶
type ResendChangeEmailLink struct{}
func (*ResendChangeEmailLink) MustDo ¶
func (a *ResendChangeEmailLink) MustDo(c *app.Client)
func (*ResendChangeEmailLink) Path ¶
func (_ *ResendChangeEmailLink) Path() string
type SendLoginLinkEmail ¶
type SendLoginLinkEmail struct {
Email string `json:"email"`
}
func (*SendLoginLinkEmail) MustDo ¶
func (a *SendLoginLinkEmail) MustDo(c *app.Client)
func (*SendLoginLinkEmail) Path ¶
func (_ *SendLoginLinkEmail) Path() string
type SetAvatar ¶
type SetAvatar struct {
Avatar io.ReadCloser
}
type SetFCMEnabled ¶
type SetFCMEnabled struct {
Val bool `json:"val"`
}
func (*SetFCMEnabled) MustDo ¶
func (a *SetFCMEnabled) MustDo(c *app.Client)
func (*SetFCMEnabled) Path ¶
func (_ *SetFCMEnabled) Path() string
type UnregisterFromFCM ¶
type UnregisterFromFCM struct {
Client ID `json:"client"`
}
func (*UnregisterFromFCM) MustDo ¶
func (a *UnregisterFromFCM) MustDo(c *app.Client)
func (*UnregisterFromFCM) Path ¶
func (_ *UnregisterFromFCM) Path() string
Click to show internal directories.
Click to hide internal directories.