Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurator ¶
type GrpcController ¶
type GrpcController interface { CreateArticle(ctx context.Context, req *articleV1.CreateArticleRequest) (*articleV1.CreateArticleResponse, error) GetArticleById(ctx context.Context, req *articleV1.GetArticleByIdRequest) (*articleV1.GetArticleByIdResponse, error) }
type HttpController ¶
type HttpController interface {
CreateArticle(c echo.Context) error
}
type KafkaConsumer ¶
type KafkaProducer ¶
type Repository ¶
type Repository interface {
CreateArticle(ctx context.Context, article *articleDto.CreateArticleRequestDto) (*articleDto.CreateArticleResponseDto, error)
}
type UseCase ¶
type UseCase interface {
CreateArticle(ctx context.Context, article *articleDto.CreateArticleRequestDto) (*articleDto.CreateArticleResponseDto, error)
}
Click to show internal directories.
Click to hide internal directories.