internal

package
v0.0.0-...-a58b211 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 3 Imported by: 0

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

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 UserConsumer interface {
	NewUserServiceEvents(amqp.Channel, User) (bool, error)

	CreateUser(string, User) error
	DeleteUser(string, User) error
	// contains filtered or unexported methods
}

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 -.

type WebAPI

type WebAPI interface {
}

UserWebAPI -.

Directories

Path Synopsis
Package app configures and runs application.
Package app configures and runs application.
controller
http/v1
Package v1 implements routing paths.
Package v1 implements routing paths.
events

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL