Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App interface { DoAtomic(ctx context.Context, action func(context.Context) error) error Get(ctx context.Context, id uint64) (model.User, error) Create(ctx context.Context, o model.User) (uint64, error) Update(ctx context.Context, o model.User) error Delete(ctx context.Context, o model.User) error Login(ctx context.Context, login, password string) (model.User, error) IsAuthorized(ctx context.Context, user model.User, profile string) bool }
App of package
Click to show internal directories.
Click to hide internal directories.