service

package
v0.0.0-...-c0db5c6 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: GPL-2.0 Imports: 16 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
	Sts    platform_sts.IPlatformSts
}

func (*AuthService) SendVerifyCode

func (*AuthService) SetPassword

func (*AuthService) SignIn

type DataService

type DataService struct {
	Config       *config.Config
	PlatformData platform_data.PlatformData
}

func (*DataService) ReportEvent

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 IDataService

type IDataService interface {
	ReportEvent(ctx context.Context, req *api.ReportEventRequest) (*api.ReportEventResponse, error)
}

Jump to

Keyboard shortcuts

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