Documentation ¶
Index ¶
- type AuthorEventConsumer
- type AuthorHandler
- func (h *AuthorHandler) Create() *httptransport.Server
- func (h *AuthorHandler) Delete() *httptransport.Server
- func (h *AuthorHandler) Get() *httptransport.Server
- func (h *AuthorHandler) HardDelete() *httptransport.Server
- func (h *AuthorHandler) List() *httptransport.Server
- func (h *AuthorHandler) Restore() *httptransport.Server
- func (h *AuthorHandler) SetRoutes(public, private, admin *mux.Router)
- func (h *AuthorHandler) Update() *httptransport.Server
- type AuthorRPCServer
- type HealthRPCServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorEventConsumer ¶
type AuthorEventConsumer struct {
// contains filtered or unexported fields
}
func NewAuthorEventConsumer ¶
func NewAuthorEventConsumer(svc usecase.AuthorSAGAInteractor, logger log.Logger) *AuthorEventConsumer
func (*AuthorEventConsumer) SetBinders ¶
type AuthorHandler ¶
type AuthorHandler struct {
// contains filtered or unexported fields
}
func NewAuthorHTTP ¶
func NewAuthorHTTP(svc usecase.AuthorInteractor, logger log.Logger, tracer stdopentracing.Tracer, zipkinTracer *stdzipkin.Tracer) *AuthorHandler
func (*AuthorHandler) Create ¶
func (h *AuthorHandler) Create() *httptransport.Server
func (*AuthorHandler) Delete ¶
func (h *AuthorHandler) Delete() *httptransport.Server
func (*AuthorHandler) Get ¶
func (h *AuthorHandler) Get() *httptransport.Server
func (*AuthorHandler) HardDelete ¶
func (h *AuthorHandler) HardDelete() *httptransport.Server
func (*AuthorHandler) List ¶
func (h *AuthorHandler) List() *httptransport.Server
func (*AuthorHandler) Restore ¶
func (h *AuthorHandler) Restore() *httptransport.Server
func (*AuthorHandler) SetRoutes ¶
func (h *AuthorHandler) SetRoutes(public, private, admin *mux.Router)
SetRoutes implement Handler interface for HTTP Proxy
func (*AuthorHandler) Update ¶
func (h *AuthorHandler) Update() *httptransport.Server
type AuthorRPCServer ¶
type AuthorRPCServer struct {
// contains filtered or unexported fields
}
func NewAuthorRPC ¶
func NewAuthorRPC(svc usecase.AuthorInteractor, logger log.Logger, tracer stdopentracing.Tracer, zipkinTracer *stdzipkin.Tracer) *AuthorRPCServer
func (AuthorRPCServer) SetRoutes ¶
func (a AuthorRPCServer) SetRoutes(srv *grpc.Server)
type HealthRPCServer ¶
type HealthRPCServer struct {
// contains filtered or unexported fields
}
func NewHealthRPC ¶
func NewHealthRPC() *HealthRPCServer
func (HealthRPCServer) SetRoutes ¶
func (a HealthRPCServer) SetRoutes(srv *grpc.Server)
Click to show internal directories.
Click to hide internal directories.