bind

package
v0.0.0-...-833cb33 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: AGPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

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

func (c *AuthorEventConsumer) SetBinders(s *eventbus.Server, ctx context.Context, service string) error

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 (*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)

Jump to

Keyboard shortcuts

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