Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUserAuthenticationNotFound = errors.New("user authentication not found")
)
View Source
var (
ErrUserNotFound = errors.New("user not found")
)
Functions ¶
This section is empty.
Types ¶
type AuthenticationRepository ¶
type AuthenticationRepository interface { Get(ctx context.Context, tx transaction.Transaction, userID uuid.UUID) (model.UserAuthentication, error) GetByBaasUserID(ctx context.Context, tx transaction.Transaction, baasUserID string) (model.UserAuthentication, error) Save(ctx context.Context, tx transaction.Transaction, auth model.UserAuthentication) error }
type EchoRepository ¶
type EchoRepository interface {
Save(ctx context.Context, tx transaction.Transaction, echos ...model.Echo) error
}
type GlobalKVSRepository ¶
type GlobalKVSRepository interface { Get(ctx context.Context, tx transaction.Transaction, criteria model.KVSCriteria) (model.GlobalKVSBucket, error) Save(ctx context.Context, tx transaction.Transaction, bucket model.GlobalKVSBucket) error }
type UserRepository ¶
type UserRepository interface { Get(ctx context.Context, tx transaction.Transaction, userID uuid.UUID) (model.User, error) Save(ctx context.Context, tx transaction.Transaction, user model.User) error }
Click to show internal directories.
Click to hide internal directories.