service

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2023 License: GPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AuthService

type AuthService struct {
	Config         *config.Config
	Authentication platform_authentication.IPlatformAuthentication
}

func (*AuthService) SendVerifyCode

func (*AuthService) SetPassword

func (*AuthService) SignIn

type CollectionService

type CollectionService struct {
	Collection meowchat_collection.IMeowchatCollection
	Config     *config.Config
}

func (*CollectionService) CreateImage added in v1.0.2

func (*CollectionService) DeleteCat added in v1.0.2

func (*CollectionService) DeleteImage added in v1.0.2

func (*CollectionService) GetCatDetail added in v1.0.2

func (*CollectionService) GetCatPreviews

func (*CollectionService) GetImageByCat added in v1.0.2

func (*CollectionService) NewCat added in v1.0.2

func (*CollectionService) SearchCat added in v1.0.2

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL