Documentation
¶
Index ¶
- Variables
- type ChallengeDto
- type Controller
- type LoginResult
- type M
- type OAuthDto
- type Service
- func (x *Service) CreateTask(ctx context.Context) (result M, err error)
- func (x *Service) Decrypt(encrypt string, key string) (string, error)
- func (x *Service) GetTasks(ctx context.Context) (result M, err error)
- func (x *Service) GetTenantAccessToken(ctx context.Context) (token string, err error)
- func (x *Service) GetUserAccessToken(ctx context.Context, code string) (_ model.UserLark, err error)
- func (x *Service) Link(ctx context.Context, userId string, data model.UserLark) (_ *mongo.UpdateResult, err error)
- func (x *Service) Login(ctx context.Context, openId string) (r *LoginResult, err error)
- type StateDto
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ChallengeDto ¶
type ChallengeDto struct {
Encrypt string `json:"encrypt" vd:"required"`
}
type Controller ¶
type Controller struct { V *common.Values Passport *passport.Passport LarkService *Service IndexService *index.Service }
func (*Controller) Challenge ¶
func (x *Controller) Challenge(ctx context.Context, c *app.RequestContext)
func (*Controller) CreateTasks ¶
func (x *Controller) CreateTasks(ctx context.Context, c *app.RequestContext)
func (*Controller) GetTasks ¶
func (x *Controller) GetTasks(ctx context.Context, c *app.RequestContext)
func (*Controller) OAuth ¶
func (x *Controller) OAuth(ctx context.Context, c *app.RequestContext)
type LoginResult ¶
Click to show internal directories.
Click to hide internal directories.