Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppUserInfo ¶
type AppUserInterface ¶
type AppUserInterface interface { AppUserID() *rsuserdomain.AppUserID OrganizationID() *rsuserdomain.OrganizationID LoginID() string Username() string }
type AuthTokenManager ¶
type AuthTokenManager interface { GetUserInfo(ctx context.Context, tokenString string) (*AppUserInfo, error) CreateTokenSet(ctx context.Context, appUser AppUserInterface, organizationUsecase OrganizationInterface) (*domain.AuthTokenSet, error) RefreshToken(ctx context.Context, accessToken string) (string, error) }
type OrganizationInterface ¶
type OrganizationInterface interface { OrganizationID() *rsuserdomain.OrganizationID Name() string }
type RepositoryFactory ¶
type RepositoryFactory interface { NewRedstartRepositoryFactory(ctx context.Context) (rsuserservice.RepositoryFactory, error) NewStateRepository(ctx context.Context) (StateRepository, error) }
type StateRepository ¶
type TransactionManager ¶
type TransactionManager interface {
Do(ctx context.Context, fn func(rf RepositoryFactory) error) error
}
Click to show internal directories.
Click to hide internal directories.