auth

package
v0.0.0-...-c26c883 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo interface {
	CreateUser(ctx context.Context, user common.User) (*common.User, error)
	GetUserByUsername(ctx context.Context, username string) (*common.User, error)
}

type Usecase

type Usecase interface {
	Register(ctx context.Context, user common.User) (*common.User, error)
	Authenticate(ctx context.Context, username, password string) (*common.User, error)
}

Directories

Path Synopsis
delivery

Jump to

Keyboard shortcuts

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