Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
State string
// contains filtered or unexported fields
}
func NewAuthService ¶
func (*AuthService) Callback ¶
func (s *AuthService) Callback(code string, state string, w http.ResponseWriter) (*model.LoginUserInput, *model.TokenInput, string, bool, error)
func (*AuthService) Redirect ¶
func (s *AuthService) Redirect(w http.ResponseWriter, r *http.Request)
type LinkService ¶
type LinkService struct {
// contains filtered or unexported fields
}
func NewLinkService ¶
func NewLinkService(db *ent.Client) *LinkService
func (*LinkService) GetLinks ¶
func (b *LinkService) GetLinks(ctx context.Context) ([]model.NewLinkInput, error)
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(client *ent.Client) *UserService
func (UserService) CreateUser ¶
func (s UserService) CreateUser(payload *model.LoginUserInput, tokenPayload *model.TokenInput, tokenString string) (*ent.Users, *ent.Session, error)
Click to show internal directories.
Click to hide internal directories.