Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserStorage ¶
type UserStorage interface { DoAtomic(ctx context.Context, action func(context.Context) error) error List(ctx context.Context, page, pageSize uint, sortKey string, sortAsc bool) ([]model.User, uint, 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 }
UserStorage defines interaction with storage from User Service
Click to show internal directories.
Click to hide internal directories.