Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessRepository ¶
type UserRepository ¶
type UserRepository interface { Create(ctx context.Context, info *model.UserCreateInfo) (int64, *db.Query, error) Get(ctx context.Context, id int64) (*model.User, *db.Query, error) GetByUsername(ctx context.Context, username string) (*model.User, *db.Query, error) Update(ctx context.Context, info *model.UserUpdateInfo) (*db.Query, error) Delete(ctx context.Context, id int64) (*db.Query, error) CheckUsersExistence(ctx context.Context, usernames []string) (*db.Query, error) CreateLog(ctx context.Context, action, model string, modelId int64, loggedQ *db.Query) error }
Click to show internal directories.
Click to hide internal directories.