Documentation ¶
Overview ¶
Package usecase implements application business logic. Each logic group in own file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MovieTagRepo ¶
type MovieTagRepo interface { GetById(context.Context, string) (entity.MovieTag, error) GetAll(context.Context) ([]entity.MovieTag, error) Create(context.Context, string) (entity.MovieTag, error) Delete(context.Context, string) error Update(context.Context, string, entity.MovieTag) error }
GenreRepo -.
type ProfileRepo ¶
type ProfileRepo interface { GetById(context.Context, string) (entity.Profile, error) GetAll(context.Context) ([]entity.Profile, error) Create(context.Context, entity.Profile) (entity.Profile, error) GetAllById(context.Context, string) ([]entity.Profile, error) Delete(context.Context, string) error Update(context.Context, string, entity.Profile) error }
GenreRepo -.
type User ¶
type User interface { GetAllProfilesById(context.Context, string) ([]entity.Profile, error) GetById(context.Context, string) (entity.User, error) GetAll(context.Context) ([]entity.User, error) Create(context.Context, string) error Delete(context.Context, string) error }
User -.
type UserConsumer ¶
type UserRepo ¶
type UserRepo interface { GetByKeycloakId(context.Context, string) (entity.User, error) GetById(context.Context, string) (entity.User, error) GetAll(context.Context) ([]entity.User, error) Create(context.Context, string) (entity.User, error) Delete(context.Context, string) error Update(context.Context, string, entity.User) error }
UserRepo -.
Click to show internal directories.
Click to hide internal directories.