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
- func (s *CollectionService) CreateImage(ctx context.Context, req *core_api.CreateImageReq) (*core_api.CreateImageResp, error)
- func (s *CollectionService) DeleteCat(ctx context.Context, req *core_api.DeleteCatReq) (*core_api.DeleteCatResp, error)
- func (s *CollectionService) DeleteImage(ctx context.Context, req *core_api.DeleteImageReq) (*core_api.DeleteImageResp, error)
- func (s *CollectionService) GetCatDetail(ctx context.Context, req *core_api.GetCatDetailReq) (*core_api.GetCatDetailResp, error)
- func (s *CollectionService) GetCatPreviews(ctx context.Context, req *core_api.GetCatPreviewsReq) (*core_api.GetCatPreviewsResp, error)
- func (s *CollectionService) GetImageByCat(ctx context.Context, req *core_api.GetImageByCatReq) (*core_api.GetImageByCatResp, error)
- func (s *CollectionService) NewCat(ctx context.Context, req *core_api.NewCatReq) (*core_api.NewCatResp, error)
- func (s *CollectionService) SearchCat(ctx context.Context, req *core_api.SearchCatReq) (*core_api.SearchCatResp, error)
- 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 Config *config.Config }
func (*CollectionService) CreateImage ¶ added in v1.0.2
func (s *CollectionService) CreateImage(ctx context.Context, req *core_api.CreateImageReq) (*core_api.CreateImageResp, error)
func (*CollectionService) DeleteCat ¶ added in v1.0.2
func (s *CollectionService) DeleteCat(ctx context.Context, req *core_api.DeleteCatReq) (*core_api.DeleteCatResp, error)
func (*CollectionService) DeleteImage ¶ added in v1.0.2
func (s *CollectionService) DeleteImage(ctx context.Context, req *core_api.DeleteImageReq) (*core_api.DeleteImageResp, error)
func (*CollectionService) GetCatDetail ¶ added in v1.0.2
func (s *CollectionService) GetCatDetail(ctx context.Context, req *core_api.GetCatDetailReq) (*core_api.GetCatDetailResp, error)
func (*CollectionService) GetCatPreviews ¶
func (s *CollectionService) GetCatPreviews(ctx context.Context, req *core_api.GetCatPreviewsReq) (*core_api.GetCatPreviewsResp, error)
func (*CollectionService) GetImageByCat ¶ added in v1.0.2
func (s *CollectionService) GetImageByCat(ctx context.Context, req *core_api.GetImageByCatReq) (*core_api.GetImageByCatResp, error)
func (*CollectionService) NewCat ¶ added in v1.0.2
func (s *CollectionService) NewCat(ctx context.Context, req *core_api.NewCatReq) (*core_api.NewCatResp, error)
func (*CollectionService) SearchCat ¶ added in v1.0.2
func (s *CollectionService) SearchCat(ctx context.Context, req *core_api.SearchCatReq) (*core_api.SearchCatResp, 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) GetCatDetail(ctx context.Context, req *core_api.GetCatDetailReq) (*core_api.GetCatDetailResp, error) NewCat(ctx context.Context, req *core_api.NewCatReq) (*core_api.NewCatResp, error) SearchCat(ctx context.Context, req *core_api.SearchCatReq) (*core_api.SearchCatResp, error) DeleteCat(ctx context.Context, req *core_api.DeleteCatReq) (*core_api.DeleteCatResp, error) CreateImage(ctx context.Context, req *core_api.CreateImageReq) (*core_api.CreateImageResp, error) DeleteImage(ctx context.Context, req *core_api.DeleteImageReq) (*core_api.DeleteImageResp, error) GetImageByCat(ctx context.Context, req *core_api.GetImageByCatReq) (*core_api.GetImageByCatResp, error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.