repository

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package repository 는 인증 컨텍스트의 저장소 구현이다.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresCredentialRepository

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

func NewPostgresCredentialRepository

func NewPostgresCredentialRepository(pool *pgxpool.Pool) *PostgresCredentialRepository

func (*PostgresCredentialRepository) FindByEmail

func (r *PostgresCredentialRepository) FindByEmail(ctx context.Context, email string) (*domain.Credential, error)

FindByEmail 은 이메일로 자격을 찾는다.

조직은 org_members 로 이어진다. 여러 조직에 속한 사용자는 가장 먼저 가입한 조직을 쓴다 — 조직 전환 UI 가 아직 없어 결정적인 값이 필요하다. 없으면 (nil, nil) 이다. "없음" 은 저장소 장애와 구분해야 한다.

Jump to

Keyboard shortcuts

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