Documentation ¶
Index ¶
- type Users
- func (u *Users) AddToken(accountID, userID int64, name string) (*model.AccessToken, error)
- func (u *Users) Auth(accountID int64, token string, pat bool) (*model.Account, *model.User, error)
- func (u *Users) Cancel(id int64) error
- func (repo *Users) ChangePassword(id, accountID int64, passwd string) error
- func (u *Users) ChangePlan(id int64, plan string, yearly bool) error
- func (u *Users) ConvertToPaid(id int64, stripeID, subID, plan string, yearly bool, seats int) error
- func (u *Users) GetByStripe(stripeID string) (*model.Account, error)
- func (u *Users) GetDetail(id int64) (*model.Account, error)
- func (u *Users) GetUserByEmail(email string) (*model.User, error)
- func (u *Users) RemoveToken(accountID, userID, tokenID int64) error
- func (u *Users) SetSeats(id int64, seats int) error
- func (u *Users) SignUp(email, password string) (*model.Account, error)
- type Webhooks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Users ¶
func (*Users) ChangePassword ¶
func (*Users) ConvertToPaid ¶
func (*Users) RemoveToken ¶
type Webhooks ¶
func (*Webhooks) AllSubscriptions ¶
Click to show internal directories.
Click to hide internal directories.