Documentation ¶
Index ¶
- type App
- func (a App) Create(ctx context.Context, o model.User) (uint64, error)
- func (a App) Delete(ctx context.Context, o model.User) error
- func (a App) DoAtomic(ctx context.Context, action func(context.Context) error) error
- func (a App) Get(ctx context.Context, id uint64) (model.User, error)
- func (a App) IsAuthorized(ctx context.Context, user model.User, profile string) bool
- func (a App) Login(ctx context.Context, login, password string) (model.User, error)
- func (a App) Update(ctx context.Context, o model.User) error
- func (a App) UpdatePassword(ctx context.Context, o model.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App of package
func (App) IsAuthorized ¶
IsAuthorized checks user on profile
Click to show internal directories.
Click to hide internal directories.