Documentation ¶
Index ¶
- Variables
- type AuthService
- func (s *AuthService) SendVerifyCode(ctx context.Context, req *core_api.SendVerifyCodeReq) (*core_api.SendVerifyCodeResp, error)
- func (s *AuthService) SetPassword(ctx context.Context, req *core_api.SetPasswordReq) (*core_api.SetPasswordResp, error)
- func (s *AuthService) SignIn(ctx context.Context, req *core_api.SignInReq) (*core_api.SignInResp, error)
- type CollectionService
- type IAuthService
- type ICollectionService
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthServiceSet = wire.NewSet( wire.Struct(new(AuthService), "*"), wire.Bind(new(IAuthService), new(*AuthService)), )
View Source
var CollectionServiceSet = wire.NewSet( wire.Struct(new(CollectionService), "*"), wire.Bind(new(ICollectionService), new(*CollectionService)), )
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct { Config *config.Config Authentication platform_authentication.IPlatformAuthentication }
func (*AuthService) SendVerifyCode ¶
func (s *AuthService) SendVerifyCode(ctx context.Context, req *core_api.SendVerifyCodeReq) (*core_api.SendVerifyCodeResp, error)
func (*AuthService) SetPassword ¶
func (s *AuthService) SetPassword(ctx context.Context, req *core_api.SetPasswordReq) (*core_api.SetPasswordResp, error)
func (*AuthService) SignIn ¶
func (s *AuthService) SignIn(ctx context.Context, req *core_api.SignInReq) (*core_api.SignInResp, error)
type CollectionService ¶
type CollectionService struct {
Collection meowchat_collection.IMeowchatCollection
}
func (*CollectionService) GetCatPreviews ¶
func (s *CollectionService) GetCatPreviews(ctx context.Context, req *core_api.GetCatPreviewsReq) (*core_api.GetCatPreviewsResp, error)
type IAuthService ¶
type IAuthService interface { SignIn(ctx context.Context, req *core_api.SignInReq) (*core_api.SignInResp, error) SetPassword(ctx context.Context, req *core_api.SetPasswordReq) (*core_api.SetPasswordResp, error) SendVerifyCode(ctx context.Context, req *core_api.SendVerifyCodeReq) (*core_api.SendVerifyCodeResp, error) }
type ICollectionService ¶
type ICollectionService interface {
GetCatPreviews(ctx context.Context, req *core_api.GetCatPreviewsReq) (*core_api.GetCatPreviewsResp, error)
}
Click to show internal directories.
Click to hide internal directories.