Documentation
¶
Index ¶
- Constants
- type MovieTagRepo
- func (ur *MovieTagRepo) Create(ctx context.Context, Genre_id string) (entity.MovieTag, error)
- func (ur *MovieTagRepo) Delete(ctx context.Context, MovieTag_id string) error
- func (ur *MovieTagRepo) GetAll(ctx context.Context) ([]entity.MovieTag, error)
- func (ur *MovieTagRepo) GetById(ctx context.Context, MovieTag_id string) (entity.MovieTag, error)
- func (ur *MovieTagRepo) Update(ctx context.Context, MovieTag_id string, MovieTag entity.MovieTag) error
- type ProfileRepo
- func (ur *ProfileRepo) Create(ctx context.Context, Profile entity.Profile) (entity.Profile, error)
- func (ur *ProfileRepo) Delete(ctx context.Context, Profile_id string) error
- func (ur *ProfileRepo) GetAll(ctx context.Context) ([]entity.Profile, error)
- func (ur *ProfileRepo) GetAllById(ctx context.Context, user_id string) ([]entity.Profile, error)
- func (ur *ProfileRepo) GetById(ctx context.Context, Profile_id string) (entity.Profile, error)
- func (ur *ProfileRepo) Update(ctx context.Context, Profile_id string, Profile entity.Profile) error
- type UserRepo
- func (ur *UserRepo) Create(ctx context.Context, keycloak_id string) (entity.User, error)
- func (ur *UserRepo) Delete(ctx context.Context, user_id string) error
- func (ur *UserRepo) GetAll(ctx context.Context) ([]entity.User, error)
- func (ur *UserRepo) GetById(ctx context.Context, User_id string) (entity.User, error)
- func (ur *UserRepo) GetByKeycloakId(ctx context.Context, keycloak_id string) (entity.User, error)
- func (ur *UserRepo) Update(ctx context.Context, User_id string, User entity.User) error
Constants ¶
View Source
const MovieTagCollectionName = "MovieTags"
View Source
const ProfileCollectionName = "Profiles"
View Source
const UserCollectionName = "Users"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MovieTagRepo ¶
MovieTagRepo -.
func (*MovieTagRepo) Delete ¶
func (ur *MovieTagRepo) Delete(ctx context.Context, MovieTag_id string) error
Delete -.
type ProfileRepo ¶
ProfileRepo -.
func (*ProfileRepo) Delete ¶
func (ur *ProfileRepo) Delete(ctx context.Context, Profile_id string) error
Delete -.
func (*ProfileRepo) GetAllById ¶
GetById -.
Click to show internal directories.
Click to hide internal directories.