mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-01 00:18:51 +00:00
* fix: move eventstore pkgs * fix: move eventstore pkgs * fix: remove v2 view * fix: remove v2 view
23 lines
396 B
Go
23 lines
396 B
Go
package eventstore
|
|
|
|
import (
|
|
"context"
|
|
"github.com/caos/zitadel/internal/query"
|
|
|
|
"github.com/caos/zitadel/internal/iam/model"
|
|
)
|
|
|
|
type IamRepo struct {
|
|
IAMID string
|
|
|
|
IAMV2Query *query.QuerySide
|
|
}
|
|
|
|
func (repo *IamRepo) Health(ctx context.Context) error {
|
|
return nil
|
|
}
|
|
|
|
func (repo *IamRepo) IamByID(ctx context.Context) (*model.IAM, error) {
|
|
return repo.IAMV2Query.IAMByID(ctx, repo.IAMID)
|
|
}
|