userusecase

package
v0.6.10-0...-926069d Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Usecase

type Usecase struct {
	// contains filtered or unexported fields
}

func NewUsecase

func NewUsecase(db userstorage.DB, googleValidator google_id2.Validator) Usecase

func (Usecase) Login

func (u Usecase) Login(ctx context.Context, authHeader string) (userentity.User, *api.Error)

func (Usecase) VerifyOwner

func (u Usecase) VerifyOwner(ctx context.Context, authHeader string, ownerID string) *api.Error

Jump to

Keyboard shortcuts

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